/* Wushu Ukraine CRM - Style v1.2.1 | 2026-02-02 */

/* Загальні налаштування */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Навігація */
.navbar-vertical .navbar-brand-image {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
    transition: transform 0.2s ease;
}

.navbar-vertical .navbar-brand-image:hover {
    transform: scale(1.02);
}

.nav-link-icon {
    font-size: 1.1rem;
    margin-right: 0.5rem;
    opacity: 0.9;
}

/* Стилізація карток та контейнерів */
.card {
    border: 1px solid rgba(101, 109, 119, 0.16);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.card-title {
    font-weight: 600;
    color: #1d273b;
}

/* Таблиці та DataTables */
.table-responsive {
    border-radius: 8px;
}

.datatable thead th {
    background: #f8fafc;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: #656d77;
    border-bottom-width: 1px;
}

.datatable tbody tr:hover {
    background-color: rgba(32, 107, 196, 0.03) !important;
}

/* Специфічні класи для CRM Wushu */
.status-dot-active { background-color: #2fb344; }
.status-dot-inactive { background-color: #d63939; }
.status-dot-pending { background-color: #f59f00; }

/* === [START: NOTIFICATION ANIMATIONS] === */
.badge-blink {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d63939;
    border: 2px solid #ffffff;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(214, 57, 57, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(214, 57, 57, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(214, 57, 57, 0); }
}
/* === [END: NOTIFICATION ANIMATIONS] === */

/* Маркери відвідуваності */
.attendance-cell {
    width: 32px;
    height: 32px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.attendance-present { background-color: rgba(47, 179, 68, 0.15); color: #2fb344; font-weight: bold; }
.attendance-absent { background-color: rgba(214, 57, 57, 0.1); color: #d63939; }

/* Додаткові стилі для згортання (Mobile & Desktop) */
@media (max-width: 991.98px) {
    .navbar-vertical {
        transform: translateX(-100%);
    }
    body.sidebar-visible .navbar-vertical {
        transform: translateX(0);
    }
    .page-wrapper {
        margin-left: 0 !important;
    }
}

.extra-small {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
