:root {
    --primary-color: #24184a;
    --secondary-color: #E37302;
    --error-color: #ef4444;
    --success-color: #22c55e;
    --warning-color: #E37302;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-900: #111827;
}

.login-section {
    background: url(../customer/images/login-bg.png) no-repeat center / cover;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 28rem;
    margin: 0 auto;
    width: 100%;
}

.login-form-wrapper {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    padding: 2rem;
}

.login-title {
    text-align: center;
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.login-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.login-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(36, 24, 74, 0.1);
}

.login-password-wrapper {
    position: relative;
}

.login-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-600);
}

.login-remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.login-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.login-checkbox {
    width: 1rem;
    height: 1rem;
}

.login-forgot-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.875rem;
}

.login-button {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.login-button:hover {
    background-color: #1b1238;
}

.login-signup {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.login-signup-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.login-alert {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.login-alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: var(--error-color);
}

.login-alert-warning {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    color: var(--warning-color);
}


/*forgor password css*/

.forgot-password-section {
    background: url(../customer/images/login-bg.png) no-repeat center / cover;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.forgot-password-container {
    max-width: 28rem;
    margin: 0 auto;
    width: 100%;
}

.forgot-password-form-wrapper {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    padding: 2rem;
}

.forgot-password-title {
    text-align: center;
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.forgot-password-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.forgot-password-form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.forgot-password-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.forgot-password-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.forgot-password-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(36, 24, 74, 0.1);
}

.forgot-password-button {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.forgot-password-button:hover {
    background-color: #1b1238;
}

.forgot-password-login {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.forgot-password-login-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}



/*reset password css*/


/* Reset Password Styles */
.reset-password-section {
    background: url(../customer/images/login-bg.png) no-repeat center / cover;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.reset-password-container {
    max-width: 28rem;
    margin: 0 auto;
    width: 100%;
}

.reset-password-form-wrapper {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    padding: 2rem;
    min-height: 400px; /* Minimum height to prevent container jumping */
}

.reset-password-title {
    text-align: center;
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reset-password-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.reset-password-form-group {
    position: relative;
    margin-bottom: 2rem;
    min-height: 90px; /* Reserve space for input + error message */
}

.reset-password-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.reset-password-input-wrapper {
    position: relative;
}

.reset-password-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.reset-password-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(36, 24, 74, 0.1);
}

.reset-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-600);
}

.reset-password-button {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.reset-password-button:hover {
    background-color: #1b1238;
}

/* Add these new styles to your existing CSS file */

/* Password strength indicator styles */
.reset-password-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    visibility: hidden; /* Change from display: none */
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    width: 100%;
    min-height: 20px; /* Minimum height for error message */
}

/* Password requirements list style */
.reset-password-error:not(:empty) {
    visibility: visible;
    opacity: 1;
    z-index: 5;
}

/* Input validation states */
.reset-password-input.valid {
    border-color: var(--success-color);
    background-color: #f0fdf4;
}

.reset-password-input.invalid {
    border-color: var(--error-color);
    background-color: #fef2f2;
}

/* Password toggle button enhancement */
.reset-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-600);
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.reset-password-toggle:hover {
    color: var(--primary-color);
}

/* Password input wrapper enhancement */
.reset-password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Success message style */
.reset-password-success {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

/* Requirements list style */
.password-requirements {
    margin: 0.5rem 0;
    min-height: 100px; /* Reserve space for requirements list */
    opacity: 0.8;
}

.password-requirements li {
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-requirements li::before {
    content: "•";
    color: var(--gray-600);
}

.password-requirements li.met::before {
    content: "✓";
    color: var(--success-color);
}

/* Form group spacing adjustment */
.reset-password-form-group {
    position: relative;
    margin-bottom: 2rem;
}

/* Input focus state enhancement */
.reset-password-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(36, 24, 74, 0.1);
}

/* Error state focus */
.reset-password-input.invalid:focus {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Success state focus */
.reset-password-input.valid:focus {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}