/* Custom ZET Color */
.bg-zet { background-color: #7c1f87; }
.text-zet { color: #7c1f87; }
.border-zet { border-color: #7c1f87; }
.focus\:ring-zet:focus { --tw-ring-color: #7c1f87; }
.hover\:text-zet:hover { color: #7c1f87; }
.bg-zet\/10 { background-color: rgba(124, 31, 135, 0.1); }
.focus\:ring-1:focus { --tw-ring-width: 1px; }

/* Modern Desktop App Styles */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    font-size: 14px;
}

/* Modern Sidebar */
#sidebar {
    background: linear-gradient(180deg, #7c1f87 0%, #6a1a75 100%);
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    position: fixed !important;
    height: 100vh;
    overflow-y: auto;
}

/* Modern Cards */
.modern-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Stat Cards */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Modern Table */
.modern-table {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.modern-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.modern-table tbody tr:hover {
    background: rgba(124, 31, 135, 0.03);
    transform: scale(1.01);
}

/* Modern Input */
.modern-input {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.modern-input:focus {
    background: #ffffff;
    border-color: #7c1f87;
    box-shadow: 0 0 0 4px rgba(124, 31, 135, 0.1);
    outline: none;
}

/* Loading Spinner */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Loading Bar Animation */
@keyframes loading {
    0% {
        width: 0%;
        transform: translateX(0);
    }
    50% {
        width: 70%;
        transform: translateX(0);
    }
    100% {
        width: 100%;
        transform: translateX(100%);
    }
}

/* Toast Notification Animations */
@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-out-right {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.animate-slide-in-right {
    animation: slide-in-right 0.3s ease-out;
}

/* Modern Button */
.modern-btn {
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Notification Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Toast Notification Animations */
@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-out-right {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.animate-slide-in-right {
    animation: slide-in-right 0.3s ease-out;
}

#notificationModal > div,
#confirmModal > div,
#actionModal > div {
    animation: slideIn 0.3s ease-out;
}

/* Modern Badge */
.modern-badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    text-transform: uppercase;
}

/* Smooth Transitions */
.page-content {
    animation: fadeIn 0.4s ease-out;
}

/* Profile Badge Card helpers */
.bg-primary { background-color: #7c1f87; }
.bg-card-pattern {
    background-image: url('../img/diagmonds.png');
    background-repeat: repeat;
    background-size: 300px 300px;
}



