:root {
    --brand: #0C306B;
    --brand-600: #0b2b60;
    --brand-700: #092553;
    --brand-50: #e9f0fb;
    --brand-light: #1a3b7a;
    --brand-lighter: #2a4b9a;
    --accent: #4a6cfa;
    --primary-color: #0C306B;
    --secondary-color: #0b2b60;
    --accent-color: #092553;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --brand-accent: #4a6cfa;
    --border-radius: 16px;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    --primary-light: #1a4a9c;
    --primary-dark: #08214e;
    --card-shadow: 0 4px 12px rgba(12, 49, 107, 0.1);
    --card-hover: 0 8px 24px rgba(12, 49, 107, 0.15);
}

.card-body {
    padding: 0 24px 24px 24px;
}

.task-card {
    border-radius: 16px;
    padding: 0;
    background: #fff;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

label[for="dt-length-0"] {
    display: none !important;
}

.btn-sm {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
}

@media (min-width: 576px) {
    .btn-sm {
        padding: 7px 14px !important;
        font-size: 0.85rem !important;
    }
}

@media (min-width: 768px) {
    .btn-sm {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }
}

@media (min-width: 992px) {
    .btn-sm {
        padding: 9px 18px !important;
        font-size: 0.95rem !important;
    }
}


.task-card-link {
    display: block;
    text-decoration: none;
}

.task-card-link:hover .task-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.task-content-link:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: none;
    box-shadow: none;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.task-header {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.task-badge {
    background-color: rgba(255, 255, 255, 0.95);
    color: #0033cc;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 5px;
}

.task-badge i {
    font-size: 10px;
}

.task-body {
    margin-top: 0;
    padding: 0;
}

.task-info {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 0;
    padding: 25px 20px;
    color: #fff;
    background-color: #0A295B;
    position: relative;
    overflow: hidden;
    min-height: 160px;
}

.task-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.task-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
}

.task-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
}

.task-author {
    font-size: 14px;
    margin-bottom: 3px;
    opacity: 0.9;
    z-index: 2;
    position: relative;
}

.task-time {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
    z-index: 2;
    position: relative;
}

.task-content {
    padding: 20px;
    background: #fff;
}

.task-content-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.task-content-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.task-content-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.task-content-item i {
    font-size: 20px;
    color: #3b82f6;
    margin-top: 2px;
    flex-shrink: 0;
}

.task-content-text {
    flex: 1;
}

.task-content-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
    line-height: 1.4;
}

.task-content-deadline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #ef4444;
    font-weight: 500;
}

.task-content-deadline i {
    font-size: 14px;
    color: #ef4444;
    margin-top: 0;
}

@media (max-width: 576px) {
    .task-content-item {
        flex-direction: column;
        text-align: center;
    }

    .task-content-item i {
        align-self: center;
    }
}

.task-line {
    height: 8px;
    background-color: #eef2f7;
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.task-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, #4A90E2, #7ED321);
    border-radius: 4px;
}

.task-line.short {
    width: 80%;
}

.task-line.short::after {
    width: 50%;
    background: linear-gradient(90deg, #F5A623, #E35050);
}

.task-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
}

.task-actions {
    display: flex;
    gap: 15px;
}

.task-action {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
}

.task-action:hover {
    color: #4A90E2;
}

.task-progress {
    font-size: 13px;
    color: #6c757d;
    font-weight: 600;
}

.pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7ED321;
    margin-right: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(126, 211, 33, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(126, 211, 33, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(126, 211, 33, 0);
    }
}

.pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}

.pattern-circle {
    position: absolute;
    border-radius: 50%;
    background: white;
}

.pattern-circle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: -30px;
    right: -30px;
}

.pattern-circle:nth-child(2) {
    width: 60px;
    height: 60px;
    bottom: -20px;
    left: -20px;
}

.pattern-circle:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 50%;
    left: 70%;
}

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

.brand-border {
    border: 1px solid var(--brand) !important;
}

.brand-bg {
    background-color: var(--brand) !important;
}

.btn-brand-outline {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
}

.course-header {
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 41, 91, 0.2);
    background: linear-gradient(135deg, rgb(10, 41, 91) 0%, rgb(40, 71, 121) 100%);
}

.course-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.course-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.header-content {
    position: relative;
    z-index: 2;
}

.item-card {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 100%);
    overflow: hidden;
    position: relative;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--brand);
}

.item-card.tugas::before {
    background: var(--accent);
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.item-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: rgba(10, 41, 91, 0.1);
    color: var(--brand);
    flex: 0 0 50px;
}

.item-card.tugas .item-icon {
    background: rgba(74, 108, 250, 0.1);
    color: var(--accent);
}

.item-meta {
    font-size: .8rem;
    color: #6c757d;
}

.action-buttons {
    display: flex;
    gap: 8px;
    z-index: 5 !important;
}

.card .card-header {
    padding: 20px 20px 10px 20px !important;
}

.card .card-body {
    padding: 10px 20px 20px 20px !important;
}

.sidebar-menu__item.activePage .sidebar-menu__link {
    background-color: var(--primary-color) !important;
}

.sidebar-menu__link:hover {
    color: var(--primary-color) !important;
}

@media (max-width: 576px) {
    .item-card .d-flex.align-items-start {
        flex-wrap: wrap; 
    }

    .action-buttons {
        order: 3;         
        width: 100%;     
        margin-top: 10px;
        display: flex;
        justify-content: flex-start;
    }
}

.action-buttons .btn {
    position: relative !important;
    z-index: 5 !important;
}


.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}


.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-edit {
    background: #0a295b;
    color: #ffffff;
}

.btn-edit:hover {
    background: #082044;
    color: #ffffff;
}

.btn-delete {
    background: #dc3545;
    color: #ffffff;
}

.btn-delete:hover {
    background: #b52c39;
    color: #ffffff;
}

.btn-view {
    background: #6c757d;
    color: #ffffff;
}

.btn-view:hover {
    background: #495057;
    color: #ffffff;
}



/* Badge Modern */
.badge-modern {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.badge-new {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Progress Bar Modern */
.progress-modern {
    height: 8px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.3);
}

.progress-bar-modern {
    border-radius: 10px;
    background: linear-gradient(90deg, #4a6cfa, #6c8eff);
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.floating-1 {
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.floating-2 {
    bottom: 10%;
    right: 20%;
    width: 40px;
    height: 40px;
    animation: float 4s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.btn-outline-primary {
    color: #0d6efd !important;
    border: 1px solid #0d6efd;
}

.btn-outline-primary:focus,
.btn-outline-primary:hover .btn-outline-primary:active {
    color: white !important;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    color: white !important;
}

:root {
    /* Warna Primary */
    --bs-primary: #0C306B;
    --bs-primary-rgb: 12, 48, 107;
    --bs-primary-dark: #08214A;
    --bs-primary-darker: #061936;
    --bs-primary-light: #104396;
    --bs-primary-lighter: #1455C0;

    /* Warna Secondary (Abu-abu yang disesuaikan) */
    --bs-secondary: #4A5568;
    --bs-secondary-rgb: 74, 85, 104;

    /* Warna Success (Hijau gelap) */
    --bs-success: #1A5632;
    --bs-success-rgb: 26, 86, 50;

    /* Warna Danger (Merah gelap) */
    --bs-danger: #7B2C2C;
    --bs-danger-rgb: 123, 44, 44;

    /* Warna Warning (Kuning/orange gelap) */
    --bs-warning: #8C6B1E;
    --bs-warning-rgb: 140, 107, 30;

    /* Warna Info (Biru terang yang gelap) */
    --bs-info: #1E4A8C;
    --bs-info-rgb: 30, 74, 140;

    /* Warna Light & Dark */
    --bs-light: #F8F9FA;
    --bs-dark: #212529;
}

/* Override kelas Bootstrap */
.bg-primary {
    background-color: var(--bs-primary) !important;
}

.bg-primary-dark {
    background-color: var(--bs-primary-dark) !important;
}

.bg-primary-darker {
    background-color: var(--bs-primary-darker) !important;
}

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

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary-dark);
    --bs-btn-hover-border-color: var(--bs-primary-darker);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary-darker);
    --bs-btn-active-border-color: var(--bs-primary-darker);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-primary);
}

/* Success Button */
.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-success);
    --bs-btn-border-color: var(--bs-success);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #144325;
    --bs-btn-hover-border-color: #0f321c;
}

/* Danger Button */
.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-danger);
    --bs-btn-border-color: var(--bs-danger);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5a2020;
    --bs-btn-hover-border-color: #451818;
}

/* Warning Button */
.btn-warning {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-warning);
    --bs-btn-border-color: var(--bs-warning);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #6b5116;
    --bs-btn-hover-border-color: #513d11;
}

/* Info Button */
.btn-info {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-info);
    --bs-btn-border-color: var(--bs-info);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #16376a;
    --bs-btn-hover-border-color: #112a50;
}

/* Alert Styles */
.alert-primary {
    --bs-alert-color: var(--bs-primary-darker);
    --bs-alert-bg: #e8edf7;
    --bs-alert-border-color: #b8c9e8;
}

.alert-success {
    --bs-alert-color: #0f321c;
    --bs-alert-bg: #e8f5ec;
    --bs-alert-border-color: #b8dec8;
}

.alert-danger {
    --bs-alert-color: #451818;
    --bs-alert-bg: #f7e8e8;
    --bs-alert-border-color: #e8b8b8;
}

.alert-warning {
    --bs-alert-color: #513d11;
    --bs-alert-bg: #f7f3e8;
    --bs-alert-border-color: #e8dbb8;
}

.alert-info {
    --bs-alert-color: #112a50;
    --bs-alert-bg: #e8edf7;
    --bs-alert-border-color: #b8c9e8;
}

/* Badge Styles */
.badge.bg-primary {
    background-color: var(--bs-primary) !important;
}

.badge.bg-success {
    background-color: var(--bs-success) !important;
}

.badge.bg-danger {
    background-color: var(--bs-danger) !important;
}

.badge.bg-warning {
    background-color: var(--bs-warning) !important;
}

.badge.bg-info {
    background-color: var(--bs-info) !important;
}

/* Form Controls */
.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Progress Bars */
.progress-bar {
    background-color: var(--bs-primary);
}

/* Links */
a {
    color: var(--bs-primary);
}

a:hover {
    color: var(--bs-primary-dark);
}

/* Table Primary */
.table-primary {
    --bs-table-bg: #e8edf7;
    --bs-table-striped-bg: #dce3f2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #d0d9ec;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #dce3f2;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #b8c9e8;
}


.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(76, 201, 240, 0.25);
}

.btn-group-toggle {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-group-toggle .btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
}

.btn-group-toggle .btn-check:checked+.btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-group-toggle .btn:not(.active):hover {
    background-color: rgba(67, 97, 238, 0.1);
}

.file-upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    background-color: #fafafa;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--accent-color);
    background-color: rgba(76, 201, 240, 0.05);
}

.file-upload-area i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.file-upload-area.dragover {
    border-color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.05);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(76, 201, 240, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.input-group {
    border-radius: 8px;
}

.input-group .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-right: none;
}

.input-group .form-control {
    border-left: none;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.toggle-section {
    transition: var(--transition);
}

.ql-editor {
    min-height: 150px;
    font-size: 1rem;
}

.ql-toolbar.ql-snow {
    border-radius: 8px 8px 0 0;
    border: 1px solid #e0e0e0;
}

.ql-container.ql-snow {
    border-radius: 0 0 8px 8px;
    border: 1px solid #e0e0e0;
}

.badge-type {
    background-color: rgba(67, 97, 238, 0.1);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.page-title {
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 40px;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    border-radius: var(--border-radius);
    color: white;
    box-shadow: var(--shadow);
    z-index: 1;
}

.page-title::before,
.page-title::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
}

.page-title::before {
    width: 300px;
    height: 300px;
    background: var(--brand-accent);
    top: -100px;
    left: -100px;
    animation: floatShape1 8s infinite ease-in-out alternate;
}

.page-title::after {
    width: 220px;
    height: 220px;
    background: #fff;
    bottom: -80px;
    right: -80px;
    animation: floatShape2 10s infinite ease-in-out alternate;
}

.page-title::after,
.page-title::before,
.page-title span.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    z-index: 0;
}

.page-title::after,
.page-title::before,
.page-title span.shape:nth-child(1) {
    background: #ffffff;
}

.page-title span.shape:nth-child(2) {
    background: #ffffff;
}

.page-title span.shape:nth-child(3) {
    background: #ffffff;
}

.page-title span.shape:nth-child(4) {
    background: #ffffff;
}

.page-title span.shape:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation: floatShape3 9s infinite ease-in-out alternate;
}

.page-title span.shape:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 10%;
    animation: floatShape4 7s infinite ease-in-out alternate;
}

.page-title span.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 15%;
    animation: floatShape5 11s infinite ease-in-out alternate;
}

.page-title span.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 15%;
    right: 25%;
    animation: floatShape6 8s infinite ease-in-out alternate;
}

@keyframes floatShape1 {
    from {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    to {
        transform: translateY(-30px) scale(1.1) rotate(20deg);
    }
}

@keyframes floatShape2 {
    from {
        transform: translateY(0) scale(1);
    }

    to {
        transform: translateY(25px) scale(1.05);
    }
}

@keyframes floatShape3 {
    from {
        transform: translateY(0) translateX(0);
    }

    to {
        transform: translateY(-20px) translateX(10px);
    }
}

@keyframes floatShape4 {
    from {
        transform: translateY(0) rotate(0deg);
    }

    to {
        transform: translateY(-15px) rotate(30deg);
    }
}

@keyframes floatShape5 {
    from {
        transform: translateY(0) translateX(0);
    }

    to {
        transform: translateY(-30px) translateX(-15px);
    }
}

@keyframes floatShape6 {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(20px);
    }
}

.page-title h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.page-title p {
    opacity: 0.9;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.judul-tugas {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
}

@media (max-width: 992px) {
    .judul-tugas {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }

    .page-title p {
        font-size: 1rem;
        line-height: 1.4;
    }
}

@media (max-width: 576px) {
    .judul-tugas {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
    }

    .page-title p {
        font-size: 0.9rem;
        line-height: 1.3;
        text-align: center;
        margin-top: 0.4rem;
    }
}