/* Custom Styles for SI-PINTAR - Modern Refinement */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #4361ee;
    --primary-light: #4895ef;
    --accent-color: #4cc9f0;
    --success-color: #4caf50;
    --warning-color: #f72585; /* Vibrant pink/red for accents */
    --dark-surface: #1e293b;
    --bg-light: #f1f5f9;
    --text-main: #334155;
    --text-muted: #64748b;
    --glass-white: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    background-color: var(--bg-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* Glass Navbar */
.glass-nav {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.glass-nav .navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.glass-nav .nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    margin: 0 5px;
    position: relative;
    transition: color 0.3s ease;
}
.glass-nav .nav-link:hover {
    color: var(--primary-color) !important;
}
.glass-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.glass-nav .nav-link:hover::after {
    width: 80%;
}

/* Animated Gradient Backgrounds */
.bg-animated-gradient {
    background: linear-gradient(-45deg, #4361ee, #3a0ca3, #4cc9f0, #f72585);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero Section */
.hero-section {
    background: var(--dark-surface);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(67,97,238,0.4) 0%, rgba(0,0,0,0) 70%);
    transform: rotate(-45deg);
    z-index: 0;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(76,201,240,0.3) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
}

/* Card Styling */
.card, .glass-card {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(67,97,238, 0.2);
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    border: none;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}
.stat-card h3 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}
.stat-card p {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Buttons */
.btn-custom {
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(45deg, #3a0ca3, var(--primary-color));
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
    transform: translateY(-2px);
}
.btn-warning {
    background: linear-gradient(45deg, #ffb703, #fb8500);
    color: white !important;
    box-shadow: 0 4px 15px rgba(251, 133, 0, 0.3);
    border: none;
}
.btn-warning:hover {
    background: linear-gradient(45deg, #fb8500, #e85d04);
    box-shadow: 0 6px 20px rgba(251, 133, 0, 0.4);
    transform: translateY(-2px);
}

/* Form Inputs */
.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}
.form-control:focus, .form-select:focus {
    background-color: white;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

/* Sidebar Pills */
.sidebar-menu .list-group-item {
    border: none;
    background: transparent;
    border-radius: 12px;
    margin-bottom: 5px;
    padding: 12px 20px;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s ease;
}
.sidebar-menu .list-group-item:hover {
    background: rgba(67, 97, 238, 0.05);
    color: var(--primary-color);
}
.sidebar-menu .list-group-item.active {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.2);
}

/* Tables */
.table-custom {
    border-collapse: separate;
    border-spacing: 0 8px;
}
.table-custom th {
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background-color: transparent;
    padding: 15px;
}
.table-custom td {
    background-color: white;
    border: none;
    padding: 15px;
    vertical-align: middle;
}
.table-custom td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.table-custom td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.table-custom tr {
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}
.table-custom tr:hover td {
    background-color: #f8fafc;
}

/* Badges */
.badge {
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.bg-success { background-color: #10b981 !important; color: white; }
.bg-warning { background-color: #f59e0b !important; color: white; }
.bg-danger { background-color: #ef4444 !important; color: white; }
.bg-info { background-color: #3b82f6 !important; color: white; }
