/* Custom styles for Hando UI integration */

/* Background for the login page */
.account-page-bg {
    background-color: #3d5fa5; /* Default background if no image is set */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    min-height: 550px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Captcha styling */
#captcha_image {
    display: inline-block;
    margin-right: 10px;
}

.catpcha {
    cursor: pointer;
    color: #3d5fa5;
    transition: all 0.3s ease;
}

.catpcha:hover {
    color: #1e2f50;
}

/* Ensure mobile responsiveness */
@media (max-width: 1199.98px) {
    .col-xl-7 {
        display: none !important;
    }
    
    .col-xl-5 {
        width: 100%;
    }
}

/* Animation for alerts */
.alert {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard Styles */
.bg-gray {
    background-color: #f7f7f7;
}

.table-traffic thead {
    background-color: #f9f9f9;
}

.table-traffic th {
    border-bottom-width: 1px;
    font-weight: 600;
    font-size: 14px;
}

.table-traffic tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.hrm-widget {
    transition: all 0.3s ease;
}

.hrm-widget:hover {
    transform: translateY(-5px);
}

.upcoming-events-list li {
    margin-bottom: 10px;
}

.upcoming-events-list li:last-child {
    margin-bottom: 0;
}

/* Custom widget colors */
.bg-primary-light {
    background-color: rgba(42, 106, 153, 0.1);
}

.text-primary {
    color: #2A6A99 !important;
}

.btn-primary {
    background-color: #2A6A99 !important;
    border-color: #2A6A99 !important;
}

.btn-primary:hover {
    background-color: #235a8a !important;
    border-color: #235a8a !important;
}

/* Sidebar active item */
.mm-active > a {
    color: #2A6A99 !important;
    font-weight: 600;
}

.mm-active > a > i {
    color: #2A6A99 !important;
}

/* Events with colored border */
.events-before {
    border-left: 3px solid #2A6A99 !important;
} 