/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
    --primary-color: #d63384;
    --primary-light: #f8d7da;
    --primary-hover: #c2185b;
    --secondary-color: #6c757d;
    --dark-bg: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --border-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
    color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Inter', sans-serif;
    /* kept generic for now, use Playfair for specific accents if needed */
    font-weight: 600;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, #d63384 0%, #ad1457 100%);
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.shadow-soft {
    box-shadow: var(--card-shadow);
    border: none;
}

.shadow-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shadow-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.rounded-custom {
    border-radius: var(--border-radius) !important;
}

/* Navbar */
.navbar-custom {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Cards */
.card-modern {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.025);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.card-icon-bg {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

/* Tables */
.table-modern {
    border-collapse: separate;
    border-spacing: 0 8px;
}

.table-modern thead th {
    border: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: transparent;
    padding: 1rem;
}

.table-modern tbody tr {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s;
}

.table-modern tbody tr:hover {
    transform: scale(1.001);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.table-modern td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.table-modern td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.table-modern td {
    border: none;
    padding: 1rem;
    vertical-align: middle;
}

/* Sidebar */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.sidebar-link:hover,
.sidebar-link.active {
    background-color: rgba(214, 51, 132, 0.08);
    color: var(--primary-color);
}

.sidebar-link i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

/* List Group Modern */
.list-group-item-action:hover,
.list-group-item-action:focus {
    background-color: var(--primary-light);
    color: var(--primary-color);
}