/* Synchrotask Login Page Styles - Matching Index Page */
.synchrotask-login-landing {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px 40px;
}

.synchrotask-login-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    margin-top: -50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.1);
    overflow: hidden;
    min-height: 600px;
}

.login-left {
    flex: 1;
    padding: 60px 50px;
    background: white;
}

.login-right {
    flex: 1;
    background-color:black;
    color: white;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-bottom:345px;
    box-sizing:border-box;
}

    .login-right::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
        opacity: 0.1;
    }

/* Login Header */
.login-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content:space-around;
}
.login-logo img{
    width:50%;
}
.login-logo-icon {
    background-color: #2563eb;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 15px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.login-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: black;
}

.login-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: black;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 1.1rem;
    color: black;
    margin-bottom: 10px;
}

/* Form Elements */
.input-group-custom {
    margin-bottom: 15px;
}

.input-label {
    font-weight: 600;
    color: black;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
    font-size: 18px;
    z-index: 1;
}

.form-control-custom {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    font-size: 16px;
    background-color: #f8fafc;
    color: #2d3748;
}

    .form-control-custom:focus {
        border-color: #2563eb;
        outline: none;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        background-color: white;
    }

/* Remember & Forgot */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    accent-color: #3498db;
    cursor: pointer;
}

.remember-label {
    color: black;
    cursor: pointer;
    font-weight: 500;
}

.forgot-link {
    color: black;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

    .forgot-link:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

/* Login Button */
.btn-login {
    width: 100%;
    padding: 18px;
    border: solid 1px;
    background-color: white;
    color: black;
    font-size: 18px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

    .btn-login:hover {
        border-color:black;
        background-color: #3498db;
        color: white;
        transform: translateY(-3px);
    }

    .btn-login:active {
        transform: translateY(0);
    }

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #718096;
    font-size: 14px;
}

    .login-divider::before,
    .login-divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #e2e8f0;
    }

    .login-divider span {
        padding: 0 15px;
    }

/* Social Login */
.social-login {
    margin-bottom: 30px;
}

.btn-social {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    background-color: white;
    color: black;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-social:hover {
        border-color: #2563eb;
        background-color: #f8fafc;
        color: #2563eb;
        transform: translateY(-2px);
    }

.btn-azure {
    color: black;
    border:solid 1px black;
}

    .btn-azure:hover {
        border-color: black;
        color: white;
        background-color: #3498db;
    }

/* Extra Links */
.extra-links {
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    color: black;
}

    .extra-links p {
        margin-bottom: 12px;
    }

.register-link {
    color: black;
    font-weight: 700;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

    .register-link:hover {
        color:#2563eb;
        text-decoration: underline;
    }

.resend-link {
    color: black;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .resend-link:hover {
        color: #2563eb;
        text-decoration: underline;
    }

/* Login Footer */
.login-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #718096;
    font-size: 14px;
}

/* Right Panel Content */
.feature-highlight {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

    .feature-highlight h3 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: white;
    }

    .feature-highlight p {
        font-size: 1.1rem;
        line-height: 1.6;
        opacity: 0.9;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

    .feature-list li {
        margin-bottom: 20px;
        display: flex;
        align-items: flex-start;
    }

    .feature-list .icon {
        background: rgba(255, 255, 255, 0.2);
        width: 36px;
        height: 36px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .feature-list .text h4 {
        font-size: 1.1rem;
        margin-bottom: 5px;
        color: white;
    }

    .feature-list .text p {
        font-size: 0.95rem;
        opacity: 0.8;
        margin: 0;
    }

/* Responsive Design */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
        max-width: 600px;
    }

    .login-left, .login-right {
        width: 100%;
        padding: 40px 30px;
    }

    .login-right {
        order: -1;
        padding: 40px 30px;
    }

    .synchrotask-login-landing {
        padding: 100px 20px 40px;
    }
}

@media (max-width: 576px) {
    .login-left, .login-right {
        padding: 30px 20px;
    }

    .login-title {
        font-size: 2rem;
    }

    .login-logo-text {
        font-size: 1.6rem;
    }

    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .forgot-link {
        align-self: flex-start;
    }

    .feature-highlight h3 {
        font-size: 1.6rem;
    }
}

/* Validation Styles */
.text-danger {
    color: #ef4444 !important;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.input-with-icon .form-control-custom.is-invalid {
    border-color: #ef4444;
}

    .input-with-icon .form-control-custom.is-invalid:focus {
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    }

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-left {
    animation: fadeIn 0.8s ease-out;
}

.login-right {
    animation: fadeIn 0.8s ease-out 0.2s both;
}
