/* IMPORT FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&display=swap');

:root {
    /* --- PALET WARNA UNGU (PURPLE THEME) --- */
    --primary-color: #6f42c1;  /* Ungu Utama */
    --primary-hover: #59359a;  /* Ungu Gelap saat Hover */
    --secondary-color: #f8f9fa;
    --accent-color: #a64bf4;   /* Ungu Muda untuk Gradasi */
    --text-dark: #333;
    --shadow-soft: 0 10px 30px rgba(111, 66, 193, 0.08); /* Bayangan bernuansa ungu */
    --shadow-hover: 0 15px 35px rgba(111, 66, 193, 0.2);
    --radius-card: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f3f0f9; /* Background ungu sangat pudar */
    color: var(--text-dark);
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

/* CARD STYLING */
.card-custom {
    border: none;
    border-radius: var(--radius-card);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 20px 25px;
    font-weight: 600;
    color: var(--primary-color);
}

.card-body {
    padding: 25px;
}

/* --- GRADIENT UNGU --- */
.bg-gradient-purple {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

/* BUTTONS */
.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    color: white;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: linear-gradient(45deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
}

/* TABLE */
.table-custom thead th {
    background-color: #f0e6ff; /* Ungu sangat muda untuk header tabel */
    color: var(--primary-color);
    border: none;
    padding: 15px;
}

.table-custom tbody tr:hover {
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.05);
}

/* PROGRESS BAR */
.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* FORM ELEMENTS */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(111, 66, 193, 0.1);
}

/* TEXT & BADGES CUSTOM */
.text-primary-custom { color: var(--primary-color) !important; }
.text-purple { color: var(--primary-color) !important; }

.bg-purple-light {
    background-color: #f0e6ff;
    color: var(--primary-color);
}