/* Custom Styles for evalueaction */
:root {
    --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --secondary-gradient: linear-gradient(135deg, #4b5563 0%, #9ca3af 100%);
    --success-gradient: linear-gradient(135deg, #065f46 0%, #10b981 100%);
    --warning-gradient: linear-gradient(135deg, #92400e 0%, #f59e0b 100%);
    --danger-gradient: linear-gradient(135deg, #991b1b 0%, #ef4444 100%);
}

/* Body & Typography */
body {
    font-family: 'Inter', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f4f6f9;
}

/* Brand Colors - Modern & Vibrant */
.brand-e {
    color: #2563eb;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Blue 600 */
.brand-value {
    color: #334155;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Slate 700 */
.brand-a {
    color: #db2777;
    font-weight: 800;
}

/* Pink 600 */
.brand-ctio {
    color: #0891b2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Cyan 600 */
.brand-n {
    color: #16a34a;
    font-weight: 800;
}

/* Green 600 */

/* Sidebar Customization */
/* Sidebar Customization */
/* .main-sidebar {
    background: #0f172a !important; 
} */

.nav-sidebar .nav-item>.nav-link.active {
    background: var(--primary-gradient) !important;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    border-radius: 8px;
}

.nav-sidebar .nav-link {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 5px;
}

.nav-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Cards Modernization */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
}

/* Small Boxes (Dashboard) */
.small-box {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.small-box:hover {
    transform: translateY(-10px);
}

.small-box.bg-info {
    background: var(--primary-gradient) !important;
}

.small-box.bg-success {
    background: var(--success-gradient) !important;
}

.small-box.bg-warning {
    background: var(--warning-gradient) !important;
}

.small-box.bg-danger {
    background: var(--danger-gradient) !important;
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* Animations */
@keyframes pageGlide {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.content-wrapper {
    animation: pageGlide 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Smooth Sidebar Transition */
.main-sidebar,
.main-header,
.content-wrapper,
.main-footer {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
}

.nav-sidebar .nav-link {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer Loading Effect (Optional for future use on cards) */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Table styling */
.table thead th {
    border-top: none;
    background: #f8fafc;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #64748b;
}

.table td {
    vertical-align: middle !important;
}

/* Header */
.main-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.brand-e {
    color: #3b82f6 !important;
    /* Professional Blue */
    font-weight: 800;
}

.brand-value {
    color: #475569 !important;
    /* Cool Grey */
    font-weight: 700;
    font-style: italic;
}

.brand-a {
    color: #e43b3b !important;
    /* Merah Brand */
    font-weight: 800;
}

.brand-ctio {
    color: #00a8a8 !important;
    /* Hijau Turquoise Brand */
    font-weight: 800;
}

.brand-n {
    color: #f39c12 !important;
    /* Orange Brand */
    font-weight: 800;
}

/* Also for login header spans */
.text-red-brand {
    color: #e43b3b !important;
}

.text-turquoise-brand {
    color: #00a8a8 !important;
}

.text-orange-brand {
    color: #f39c12 !important;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* User Profile & Avatar Fixes */
.user-menu .user-image,
.user-header img,
.user-panel .image img,
.img-circle {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    width: 2.1rem !important;
    height: 2.1rem !important;
}

.user-header img {
    width: 100px !important;
    height: 100px !important;
}

.user-image.img-circle {
    width: 2.1rem !important;
    height: 2.1rem !important;
}

/* Button Pulse/Scale */
.btn:active {
    transform: scale(0.95);
}

.nav-link:active {
    transform: scale(0.98);
}