/* Common Login Page Styles */
.login-page-container {
    min-height: calc(100vh - 200px);
    padding: 20px 0;
}

/* GUEST LOGIN STYLES (Green Theme) */
.guest-login-hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    padding: 40px 20px;
}

.guest-login-container {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(42, 82, 72, 0.15);
    background: white;
}

.guest-welcome-side {
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #C9E5E0;
}

.guest-welcome-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 82, 72, 0.15) 0%, rgba(9, 51, 41, 0.1) 100%);
}

.guest-welcome-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.guest-welcome-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.guest-welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #0D1E34;
}

.guest-welcome-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #445770;
}

.guest-welcome-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guest-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
}

.guest-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #2A5248;
}

.guest-form-side {
    padding: 60px 40px;
    background: white;
}

.guest-form-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.guest-login-header {
    text-align: center;
    margin-bottom: 40px;
}

.guest-login-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0D1E34;
}

.guest-login-subtitle {
    font-size: 1rem;
    margin: 0;
    color: #63748A;
}

.guest-login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.guest-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guest-input-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 4px;
    color: #2A5248;
}

.guest-input-wrapper {
    position: relative;
}

.guest-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.guest-fancy-input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #C9E5E0;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(201, 229, 224, 0.1);
    color: #0D1E34;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.guest-fancy-input:focus {
    outline: none;
    border-color: #2A5248;
    background: white;
    box-shadow: 0 0 0 3px rgba(42, 82, 72, 0.1);
}

.guest-forgot-password {
    text-align: right;
    margin-top: -10px;
}

.guest-forgot-link {
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    color: #2A5248;
}

.guest-forgot-link:hover {
    color: #093329;
    text-decoration: underline;
}

.guest-login-button {
    padding: 16px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(42, 82, 72, 0.3);
    background-color: #2A5248;
}

.guest-login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 82, 72, 0.4);
    background-color: #093329;
}

.guest-register-prompt {
    text-align: center;
}

.guest-register-prompt p {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    color: #0D1E34;
}

.guest-register-link {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    color: #2A5248;
}

.guest-register-link:hover {
    color: #093329;
    text-decoration: underline;
}

/* PROVIDER LOGIN STYLES (Blue Theme) */
.provider-login-hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    padding: 40px 20px;
}

.provider-login-container {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(13, 30, 52, 0.2);
    background: white;
}

.provider-welcome-side {
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #63748A;
}

.provider-welcome-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 30, 52, 0.2) 0%, rgba(46, 62, 83, 0.15) 100%);
}

.provider-welcome-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.provider-welcome-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.provider-welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: white;
}

.provider-welcome-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.provider-welcome-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.provider-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
}

.provider-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #C9E5E0;
}

.provider-form-side {
    padding: 60px 40px;
    background: white;
}

.provider-form-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.provider-login-header {
    text-align: center;
    margin-bottom: 40px;
}

.provider-login-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0D1E34;
}

.provider-login-subtitle {
    font-size: 1rem;
    margin: 0;
    color: #63748A;
}

.provider-login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.provider-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.provider-input-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 4px;
    color: #2E3E53;
}

.provider-input-wrapper {
    position: relative;
}

.provider-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.provider-fancy-input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #63748A;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(99, 116, 138, 0.1);
    color: #0D1E34;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.provider-fancy-input:focus {
    outline: none;
    border-color: #2E3E53;
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 62, 83, 0.1);
}

.provider-forgot-password {
    text-align: right;
    margin-top: -10px;
}

.provider-forgot-link {
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    color: #2E3E53;
}

.provider-forgot-link:hover {
    color: #0D1E34;
    text-decoration: underline;
}

.provider-login-button {
    padding: 16px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(46, 62, 83, 0.3);
    background-color: #2E3E53;
}

.provider-login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 62, 83, 0.4);
    background-color: #0D1E34;
}

.provider-register-prompt {
    text-align: center;
}

.provider-register-prompt p {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    color: #0D1E34;
}

.provider-register-link {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    color: #2E3E53;
}

.provider-register-link:hover {
    color: #0D1E34;
    text-decoration: underline;
}

/* Common Styles for Both */
.success-message,
.error-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.success-icon,
.error-icon {
    width: 20px;
    height: 20px;
    font-weight: bold;
    font-size: 14px;
}

.login-button-icon {
    transition: transform 0.3s ease;
}

.guest-login-button:hover .login-button-icon,
.provider-login-button:hover .login-button-icon {
    transform: translateX(3px);
}

.login-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #C9E5E0;
}

.login-divider span {
    background: white;
    padding: 0 20px;
    font-size: 0.9rem;
    position: relative;
    color: #63748A;
}

/* Bottom Navigation */
.login-bottom-navigation {
    margin-top: 40px;
    padding: 0 20px;
}

.login-nav-button-container {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.login-nav-button {
    padding: 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: white;
}

.login-nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.login-nav-button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .guest-login-container,
    .provider-login-container {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .guest-welcome-side,
    .provider-welcome-side {
        padding: 40px 30px;
    }

    .guest-welcome-title,
    .provider-welcome-title {
        font-size: 2rem;
    }

    .guest-form-side,
    .provider-form-side {
        padding: 40px 30px;
    }

    .guest-login-title,
    .provider-login-title {
        font-size: 1.75rem;
    }

    .login-nav-button-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .guest-login-hero-section,
    .provider-login-hero-section {
        padding: 20px 10px;
    }

    .guest-welcome-side,
    .provider-welcome-side,
    .guest-form-side,
    .provider-form-side {
        padding: 30px 20px;
    }

    .guest-fancy-input,
    .provider-fancy-input {
        padding: 12px 12px 12px 45px;
    }

    .guest-login-button,
    .provider-login-button {
        padding: 14px 25px;
    }
}
