/* Custom Styles for Awarding Ceremony System */
:root {
    --primary-color: #5f090d;
    --primary-dark: #3e0508;
    --primary-light: #801d22;
    --accent-color: #dc3545;
    --secondary-bg: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

html {
    font-size: 85%;
}

body {
    background-color: #f4f6f9;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Navigation */
.navbar-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-custom .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.navbar-custom a.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-left: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar-custom a.nav-link:hover {
    color: white;
    text-decoration: underline;
}

/* Cards */
.card-custom {
    background: white;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-header-custom {
    background-color: transparent;
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
}

.card-body-custom {
    padding: 1.5rem;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-custom {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Forms */
.form-control-custom {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 10px 15px;
    transition: border-color 0.3s;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(95, 9, 13, 0.15);
}

.label-custom {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Alerts and Notices */
.alert-notice-custom {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success-custom {
    background-color: #d4edda;
    border-left: 5px solid #28a745;
    padding: 15px;
    border-radius: 5px;
    color: #155724;
}

/* Tables */
.table-custom {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table-custom thead th {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
}

.table-custom tbody td {
    padding: 15px;
    vertical-align: middle;
}

.table-custom tbody tr:hover {
    background-color: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-custom {
        padding: 1rem;
    }

    .content-detail {
        padding: 20px;
    }
}