/* --- Global Settings --- */
:root {
    --brand-green: #00d26a;
    --brand-dark: #009e50;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --input-border: #ced4da;
    --input-focus-shadow: rgba(0, 210, 106, 0.25);
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* --- Left Panel (Brand Identity) --- */
.left-panel {
    /* Green Gradient Background */
    background: linear-gradient(135deg, #00d26a 0%, #009e50 100%);
    position: relative;
    z-index: 1;
}

/* --- Right Panel (Form Area) --- */
.right-panel {
    background-color: #ffffff;
    color: var(--text-dark);
}

/* --- Logo Styling --- */
.logo-icon {
    width: 24px;
    height: 24px;
    background-color: var(--text-dark); /* Changed to Dark to match text */
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}

/* --- Navigation Tabs --- */
.nav-pills .nav-link {
    color: var(--text-muted);
    font-weight: 600;
    background: none;
    border-radius: 0;
    padding-bottom: 8px;

    /* CHANGE: Set margin-right to 0 (we use gap in HTML instead) */
    margin-right: 0;

    transition: color 0.3s;
    white-space: nowrap; /* Ensures the text inside "Shop Owner" doesn't wrap */
}

.nav-pills .nav-link.active {
    color: var(--brand-green);
    background: none;
    border-bottom: 3px solid var(--brand-green);
}

.nav-pills .nav-link:hover {
    color: var(--brand-dark);
}

/* --- Input Fields (High Readability) --- */
.input-group {
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.custom-input {
    background-color: #ffffff;
    border: 1px solid var(--input-border);
    border-right: none;
    color: var(--text-dark);
    padding: 12px 15px;
    font-size: 1rem;
}

.custom-input::placeholder {
    color: #adb5bd;
}

.custom-input:focus {
    background-color: #ffffff;
    color: var(--text-dark);
    border-color: var(--brand-green);
    box-shadow: 0 0 0 4px var(--input-focus-shadow);
    z-index: 3;
}

.custom-icon {
    background-color: #f8f9fa;
    border: 1px solid var(--input-border);
    border-left: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-input:focus + .custom-icon {
    border-color: var(--brand-green);
}

/* --- Buttons --- */
.login-btn {
    background-color: var(--brand-green);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 210, 106, 0.3);
}

/* --- UPDATED NAVBAR BUTTON (Dark Text) --- */
.btn-outline-custom {
    border: 1px solid #dee2e6; /* Subtle grey border */
    color: var(--text-dark);   /* Black Text */
    font-weight: 600;
}
.btn-outline-custom:hover {
    background-color: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
}

/* --- Links --- */
.forgot-link {
    color: var(--brand-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}
.forgot-link:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.register-link {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: 700;
}
.register-link:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.auth-page-section {
    min-height: calc(100vh - 80px);
}

.min-vh-auth {
    min-height: calc(100vh - 80px);
}

.login-wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    .auth-page-section {
        min-height: auto;
    }

    .min-vh-auth {
        min-height: auto;
    }

    .login-wrapper {
        margin-top: 0 !important;
        padding-top: 30px;
        padding-bottom: 50px;
    }
}

.auth-form-wrapper {
    width: 100%;
    max-width: 600px;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 768px) {

    .left-panel {
        display: none !important;
    }

    .auth-form-wrapper {
        padding-top: 25px;
        padding-bottom: 40px;
    }

}