.login-page {
    padding: 2rem 0;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(10, 186, 181, 0.16), transparent 36%),
        linear-gradient(180deg, #f8fdfd 0%, #f1fbfb 55%, #ecf8f8 100%);
}

.login-container {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #d8ecec;
    box-shadow: 0 16px 34px rgba(10, 90, 102, 0.12);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(135deg, #27d0cc 0%, #0abab5 100%);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h2 {
    color: #1f2a2f;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.login-header p {
    color: #61797f;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    color: #4e676d;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background-color: #ffffff;
    border: 1px solid #cfe3e3;
    border-radius: 8px;
    color: #1f2a2f;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #90a7ad;
}

.form-control:focus {
    outline: none;
    border-color: #0abab5;
    box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.15);
    background-color: #ffffff;
}

.verification-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.verification-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.verification-btn {
    width: 110px;
    padding: 0 0.8rem;
    height: 44px;
    background-color: #0abab5;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, box-shadow 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.verification-btn:hover {
    background-color: #089f9a;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(10, 186, 181, 0.2);
}

.verification-btn:disabled {
    background-color: #afc7c7;
    cursor: not-allowed;
    opacity: 0.8;
    transform: none;
    box-shadow: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.error-message {
    background-color: #fff3f4;
    color: #c23a4c;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
    text-align: center;
    border: 1px solid #f7cdd3;
}

.divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: #759096;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #dcecec;
}

.divider span {
    padding: 0 1rem;
}

.other-login {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f3f8f8;
    border: none;
    color: #4f676d;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #0abab5;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 186, 181, 0.2);
}

.switch-mode,
.register-link,
.login-link {
    text-align: center;
    color: #5f787e;
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

.switch-mode a,
.register-link a,
.login-link a {
    color: #089f9a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.switch-mode a:hover,
.register-link a:hover,
.login-link a:hover {
    color: #0abab5;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #27d0cc 0%, #0abab5 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 1.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(10, 186, 181, 0.24);
}

@media (max-width: 767px) {
    .login-page {
        padding: 1rem 0;
    }

    .login-container {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }

    .login-header h2 {
        font-size: 1.7rem;
    }

    .verification-row {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }

    .verification-btn {
        width: 100%;
        height: 48px;
        padding: 1rem;
        font-size: 1rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .login-container {
        margin: 0 2rem;
    }

    .verification-btn {
        width: 105px;
        height: 42px;
        font-size: 0.85rem;
    }
}
