/* ===== Customer Login Responsive Styles ===== */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px);
    padding: 2rem 1rem;
    background-color: #f5f5f5;
}

.login-container {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    animation: fadeIn 0.5s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header .login-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.login-header h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 0;
}

.login-header .fa-user-tie {
    font-size: 1.5rem;
    color: #2c3e50;
}
.login-header .fa-user {
    font-size: 1.5rem;
    color: #2c3e50;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}
.input-with-icon i.fa-user-tie {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 1rem;
}

.input-with-icon {
    position: relative;
    width: 100%;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: #777;
}

.input-with-icon i.fa-lock {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    z-index: 1;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box; /* Ensures padding is included in width */
}
.toggle-password {
    position: absolute;
    right: 45px;
    top: 35%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
    z-index: 2;
    background: none;
    border: none;
    padding: 0;
}
.toggle-password i {
    font-size: 1rem;
}
@media (max-width: 768px) {
    .form-group label {
    font-weight: 600;
    color: #555;
    font-size: 1rem;
}
    .input-with-icon input {
        padding: 10px 40px 10px 40px; /* Reduced padding for mobile */
        font-size: 1rem !important;
        height: 3.5rem;
    }
    
    .input-with-icon i.fa-lock {
        left: 12px;
        font-size: 0.9rem;
    }
    
    .toggle-password {
        right: 40px;
    }
}

@media (max-width: 480px) {
    .input-with-icon input {
        padding: 8px 35px 8px 35px;
        font-size: 1.1rem; /* Further reduced padding for small mobile */
    }
    
    .input-with-icon i.fa-lock {
        left: 10px;
    }
    
    .toggle-password {
        right: 40px;
    }
}

.input-with-icon input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.login-button {
    height: 3.5rem;
    width: 100%;
    padding: 14px;
    background-color: #fbc100;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-button:hover {
    background-color: #e8b000;
    transform: translateY(-2px);
}

.login-button:active {
    transform: translateY(0);
}

.error-message {
    color: #e74c3c;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-container {
        padding: 1.5rem;
    }
    
    .login-header h1 {
        font-size: 1.5rem;
    }
    
    .login-button {
        padding: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-wrapper {
        padding: 1rem;
    }
    
    .login-container {
        padding: 1.25rem;
    }
    
    .login-header .login-logo {
        height: 50px;
    }
    
    /* .input-with-icon input {
        padding: 10px 12px 10px 40px;
        font-size: 1rem;
    } */
    
    .login-form {
        gap: 1.25rem;
    }
}
/* Bottom navitem start */
 .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #fff;
            border-top: 1px solid #e0e0e0;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            display: none;
        }

        .bottom-nav-container {
            display: flex;
            justify-content: space-around;
            padding: 8px 0;
            background-color: #eff2f7;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #666;
            text-decoration: none;
            font-size: 12px;
            font-weight: 500;
            flex: 1;
            padding: 5px 0;
        }

        .nav-item.active {
            color: #fbc100;
        }

        .nav-item i {
            font-size: 1.4rem;
            margin-bottom: 4px;
        }

        .nav-item span {
            display: block;
            white-space: nowrap;
        }

        @media (max-width: 768px) {
            .bottom-nav {
                display: block;
            }
            .main-content {
                padding-bottom: 70px;
            }
        }
        /* Bottom navitem end */