/* Custom CSS untuk TugasCollector */
:root {
    --primary-color: #4e73df;
    --primary-hover: #224abe;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-bg: #f8f9fc;
    --card-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

body {
    background-color: var(--light-bg);
    color: #5a5c69;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Navbar Custom */
.navbar-custom {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.35rem;
    transition: all 0.2s ease-in-out;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: #ffffff;
    padding: 5rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--light-bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* Stat Cards */
.card-stat {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 0.35rem solid !important;
}

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

.card-stat-primary {
    border-left-color: var(--primary-color) !important;
}

.card-stat-success {
    border-left-color: var(--success-color) !important;
}

.card-stat-info {
    border-left-color: var(--info-color) !important;
}

.card-stat-warning {
    border-left-color: var(--warning-color) !important;
}

.card-stat-danger {
    border-left-color: var(--danger-color) !important;
}

/* Feature Cards & Hover */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 0.75rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Status Badges */
.badge-status-submitted {
    background-color: #d1ecf1;
    color: #0c5460;
}

.badge-status-late {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-status-graded {
    background-color: #d4edda;
    color: #155724;
}

.badge-status-returned {
    background-color: #fff3cd;
    color: #856404;
}

/* Upload Dropzone Styling */
.upload-dropzone {
    border: 2px dashed #b7b9cc;
    border-radius: 0.75rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--primary-color);
    background-color: #eaecf4;
}

/* Notification unread style */
.notification-item.unread {
    background-color: #e8f0fe !important;
    border-left: 4px solid var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.65rem;
    padding: 0.25em 0.45em;
    border-radius: 50rem;
}

/* Kelas Badges */
.badge-kelas {
    background-color: #e2e8f0;
    color: #334155;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 0.35rem;
    border: 1px solid #cbd5e1;
    display: inline-block;
    margin: 2px;
}

/* Table styling */
.table-custom {
    background: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
}

.table-custom th {
    background-color: #f8f9fc;
    color: #4e73df;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e3e6f0;
}

.settings-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(78, 115, 223, 0.10);
    border: 1px solid rgba(78, 115, 223, 0.15);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.settings-pill-muted {
    background: rgba(133, 135, 150, 0.08);
    border-color: rgba(133, 135, 150, 0.15);
    color: var(--secondary-color);
}

.settings-card {
    border-radius: 1rem !important;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.settings-section-title {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

/* Footer */
footer {
    background-color: #ffffff;
    border-top: 1px solid #e3e6f0;
    padding: 1.5rem 0;
    color: #858796;
    font-size: 0.875rem;
}
