/* General Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(
            circle at 100% 50%,
            transparent 20%,
            rgba(255, 255, 255, 0.05) 21%,
            rgba(255, 255, 255, 0.05) 34%,
            transparent 35%,
            transparent
        ),
        radial-gradient(
                circle at 0% 50%,
                transparent 20%,
                rgba(255, 255, 255, 0.05) 21%,
                rgba(255, 255, 255, 0.05) 34%,
                transparent 35%,
                transparent
            )
            0 -50px;
    background-color: #f8f9fa;
    background-size: 75px 100px;
}

#loginAdminPage {
    background-image: url(/assets/img/loginbg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-clip: border-box;
    background-position: right bottom;
    height: 105vh;
}

/* Live Chat Button */
.live-chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.live-chat-btn .btn {
    padding: 12px 24px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.live-chat-btn .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

/* Form Styles */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    background: #ffffff;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Button Styles */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0d6efd;
    border: none;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.btn-outline-primary {
    border: 2px solid #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    transform: translateY(-1px);
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.alert-info {
    background-color: rgba(231, 242, 255, 0.95);
    color: #0c5460;
}

.alert-warning {
    background-color: rgba(255, 243, 205, 0.95);
    color: #856404;
}

.alert a {
    font-weight: 500;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-title {
    color: #212529;
}

/* Footer Styles */
.footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(222, 226, 230, 0.5);
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.footer .nav-link {
    padding: 0.5rem 1rem;
    color: #6c757d;
    transition: color 0.2s ease;
}

.footer .nav-link:hover {
    color: #0d6efd !important;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
}

.support-section {
    color: #6c757d;
}

.support-section a:hover {
    color: #0d6efd !important;
}

.copyright {
    font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }

    .footer {
        text-align: center;
        padding: 1rem 0;
    }

    .footer .nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }

    .live-chat-btn {
        bottom: 10px;
        right: 10px;
    }

    .live-chat-btn .btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Password toggle button */
#togglePassword {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#togglePassword:focus {
    box-shadow: none;
    border-color: #ced4da;
}
