/* 
 * HIMABISDIG - Kegiatan Detail Styles (CLEAN & PROFESSIONAL)
 * Created: November 2025
 */

:root {
    --primary: #0A2463;
    --primary-light: #3E92CC;
    --secondary: #F7931E;
    --text-dark: #1a202c;
    --text-body: #4a5568;
    --text-light: #718096;
    --border: #e2e8f0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ===== HERO SECTION ===== */
.detail-hero-section {
    position: relative;
    background-color: var(--primary);
    background-size: cover;
    background-position: center;
    padding: 8rem 0 6rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.85), rgba(62, 146, 204, 0.75));
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Breadcrumb */
.breadcrumb-nav {
    position: relative;
    z-index: 3;
    margin-bottom: 2rem;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 0;
    display: inline-flex;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.6);
}

.kategori-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.quick-info .info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9375rem;
    font-weight: 500;
}

.quick-info .info-item i {
    font-size: 1.125rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== CONTENT SECTION ===== */
.detail-content-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.content-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.content-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
}

.content-card .card-header i {
    color: var(--primary);
    font-size: 1.25rem;
}

.content-card .card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.content-card .card-body {
    padding: 2rem;
}

/* Deskripsi */
.kegiatan-deskripsi {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body);
}

.kegiatan-deskripsi h3,
.kegiatan-deskripsi h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.kegiatan-deskripsi ul,
.kegiatan-deskripsi ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.kegiatan-deskripsi li {
    margin-bottom: 0.5rem;
}

/* Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.detail-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.detail-content h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.detail-content p {
    font-size: 0.9375rem;
    color: var(--text-body);
    margin: 0;
    line-height: 1.6;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.btn-link:hover {
    color: var(--primary-light);
}

/* Quota Info */
.quota-info {
    margin-top: 0.5rem;
}

.quota-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.progress {
    height: 8px;
    background: var(--border);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

/* Price Display */
.price-display {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.5rem;
}

.price-free {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
    margin-top: 0.5rem;
}

/* Contact Box */
.contact-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    margin-top: 2rem;
}

.contact-box i {
    color: var(--primary);
    font-size: 1.5rem;
}

.contact-box h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-box p {
    font-size: 0.9375rem;
    color: var(--text-body);
    margin: 0;
}

/* Dokumen List */
.dokumen-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dokumen-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dokumen-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.dokumen-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--danger);
    font-size: 1.25rem;
}

.dokumen-info {
    flex: 1;
}

.dokumen-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.dokumen-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.dokumen-action {
    color: var(--primary);
    font-size: 1.125rem;
}

/* ===== SIDEBAR ===== */
.registration-card,
.share-card,
.related-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.registration-card .card-header,
.share-card .card-header,
.related-card .card-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
}

.registration-card .card-header h3,
.registration-card .card-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.share-card .card-header h4,
.related-card .card-header h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.registration-card .card-body,
.share-card .card-body,
.related-card .card-body {
    padding: 1.5rem;
}

/* Status Display */
.status-display {
    text-align: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-badge.primary {
    background: rgba(10, 36, 99, 0.1);
    color: var(--primary);
}

.status-badge.secondary {
    background: rgba(113, 128, 150, 0.1);
    color: var(--text-light);
}

.status-badge.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.status-message {
    color: var(--text-body);
    margin: 0;
}

/* Registration Info */
.registration-info {
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 600;
    color: var(--text-dark);
}

.info-row .value {
    color: var(--text-body);
}

/* Payment Info Box */
.payment-info-box {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.payment-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.payment-title i {
    color: var(--primary);
}

.bank-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bank-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.bank-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

.payment-notes {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.payment-notes i {
    color: var(--primary);
    font-size: 0.875rem;
    margin-top: 0.125rem;
}

.payment-notes small {
    font-size: 0.8125rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* Payment Warning */
.payment-warning {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.payment-warning i {
    color: var(--warning);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.payment-warning p {
    font-size: 0.875rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}

/* Closed Info */
.closed-info {
    text-align: center;
}

.status-message {
    color: var(--text-body);
    margin: 1rem 0;
}

.btn-feedback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-feedback:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Register Button */
.btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-register.disabled {
    background: var(--text-light);
    cursor: not-allowed;
}

/* Share Buttons */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.share-btn {
    aspect-ratio: 1;
    border: none;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.copy {
    background: var(--text-dark);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Related Items */
.related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.related-item:last-child {
    margin-bottom: 0;
}

.related-item:hover {
    background: var(--bg-light);
}

.related-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--bg-light);
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-image .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 2rem;
}

.related-info h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-info p {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
}

/* Empty Related State */
.empty-related {
    text-align: center;
    padding: 2rem 1rem;
}

.empty-related i {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.empty-related p {
    font-size: 0.9375rem;
    color: var(--text-body);
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 1.5rem 0;
}

.cta-box {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 1.5rem;
    padding: 2.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 200px;
    display: flex;
    align-items: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.8), rgba(62, 146, 204, 0.7));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-title .text-warning {
    color: var(--secondary);
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.btn-cta-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--secondary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-cta-contact:hover {
    background: var(--warning);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* Toast */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification i {
    color: var(--success);
    font-size: 1.25rem;
}

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE DESIGN - ALL DEVICES ===== */

/* Tablet Landscape & Medium Desktop (992px - 1199px) */
@media (max-width: 1199.98px) {
    .detail-hero-section {
        padding: 7rem 0 5rem;
        min-height: 55vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .quick-info {
        gap: 1.75rem;
    }
    
    .quick-info .info-item {
        font-size: 0.875rem;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991.98px) {
    .detail-hero-section {
        padding: 6rem 0 4rem;
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.75rem;
    }
    
    .kategori-badge {
        font-size: 0.8125rem;
        padding: 0.4375rem 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .breadcrumb {
        padding: 0.625rem 1.25rem;
        margin-bottom: 1.75rem;
    }
    
    .breadcrumb-item {
        font-size: 0.8125rem;
    }
    
    .quick-info {
        gap: 1.5rem;
    }
    
    .quick-info .info-item {
        font-size: 0.875rem;
    }
    
    .quick-info .info-item i {
        font-size: 1rem;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* Content Section */
    .detail-content-section {
        padding: 3.5rem 0;
    }
    
    .content-card {
        margin-bottom: 1.75rem;
    }
    
    .content-card .card-header {
        padding: 1.25rem;
    }
    
    .content-card .card-header h2 {
        font-size: 1.375rem;
    }
    
    .content-card .card-header h4 {
        font-size: 1.125rem;
    }
    
    .content-card .card-body {
        padding: 1.75rem;
    }
    
    .detail-grid {
        gap: 1.25rem;
    }
    
    .detail-item {
        padding: 1.25rem;
    }
    
    .detail-content h5 {
        font-size: 0.9375rem;
    }
    
    .detail-content p {
        font-size: 0.875rem;
    }
    
    /* Sidebar */
    .sidebar-card {
        margin-bottom: 1.75rem;
    }
    
    .sidebar-card .card-header h4 {
        font-size: 1.125rem;
    }
    
    .sidebar-card .card-body {
        padding: 1.75rem;
    }
    
    /* Status Badge */
    .status-badge {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    /* Buttons */
    .btn-register,
    .btn-feedback {
        padding: 0.875rem;
        font-size: 0.9375rem;
    }
    
    /* Share Buttons */
    .share-buttons {
        gap: 0.625rem;
    }
    
    .share-btn {
        font-size: 1.125rem;
    }
}

/* Mobile Landscape & Small Tablet (576px - 767px) */
@media (max-width: 767.98px) {
    .detail-hero-section {
        padding: 5rem 0 3rem;
        min-height: 45vh;
    }
    
    .hero-title {
        font-size: 1.875rem;
        margin-bottom: 1.5rem;
        line-height: 1.25;
    }
    
    .kategori-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb {
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .breadcrumb-item {
        font-size: 0.75rem;
    }
    
    .quick-info {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .quick-info .info-item {
        font-size: 0.8125rem;
    }
    
    .quick-info .info-item i {
        font-size: 0.9375rem;
    }
    
    .scroll-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    /* Content Section */
    .detail-content-section {
        padding: 3rem 0;
    }
    
    .content-card {
        margin-bottom: 1.5rem;
        border-radius: 0.875rem;
    }
    
    .content-card .card-header {
        padding: 1.125rem 1.25rem;
    }
    
    .content-card .card-header i {
        font-size: 1.125rem;
    }
    
    .content-card .card-header h2 {
        font-size: 1.25rem;
    }
    
    .content-card .card-header h4 {
        font-size: 1.0625rem;
    }
    
    .content-card .card-body {
        padding: 1.5rem;
    }
    
    /* Deskripsi */
    .kegiatan-deskripsi {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    
    .kegiatan-deskripsi h3 {
        font-size: 1.25rem;
        margin-top: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .kegiatan-deskripsi h4 {
        font-size: 1.125rem;
        margin-top: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    /* Detail Grid */
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .detail-item {
        padding: 1.125rem;
        border-radius: 0.625rem;
    }
    
    .detail-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.125rem;
        border-radius: 0.625rem;
    }
    
    .detail-content h5 {
        font-size: 0.9375rem;
        margin-bottom: 0.4375rem;
    }
    
    .detail-content p {
        font-size: 0.875rem;
    }
    
    .btn-link {
        font-size: 0.8125rem;
    }
    
    /* Quota Info */
    .quota-number {
        font-size: 1.375rem;
        margin-bottom: 0.4375rem;
    }
    
    .progress {
        height: 7px;
        margin-bottom: 0.4375rem;
    }
    
    /* Price Display */
    .price-display {
        font-size: 1.5rem;
    }
    
    .price-free {
        font-size: 1.375rem;
    }
    
    /* Contact Box */
    .contact-box {
        padding: 1.25rem;
        border-radius: 0.625rem;
        margin-top: 1.75rem;
    }
    
    .contact-box i {
        font-size: 1.375rem;
    }
    
    .contact-box h5 {
        font-size: 0.9375rem;
    }
    
    .contact-box p {
        font-size: 0.875rem;
    }
    
    /* Dokumen List */
    .dokumen-item {
        padding: 1.125rem;
        border-radius: 0.625rem;
    }
    
    .dokumen-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.125rem;
        border-radius: 0.4375rem;
    }
    
    .dokumen-info h5 {
        font-size: 0.9375rem;
        margin-bottom: 0.25rem;
    }
    
    .dokumen-info p {
        font-size: 0.75rem;
    }
    
    .dokumen-size {
        font-size: 0.75rem;
    }
    
    /* Sidebar */
    .sidebar-card {
        margin-bottom: 1.5rem;
    }
    
    .sidebar-card .card-header {
        padding: 1.125rem 1.25rem;
    }
    
    .sidebar-card .card-header h4 {
        font-size: 1.0625rem;
    }
    
    .sidebar-card .card-body {
        padding: 1.5rem;
    }
    
    /* Registration Info */
    .registration-info p {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    /* Status Badge */
    .status-badge {
        padding: 0.625rem 1.125rem;
        font-size: 0.8125rem;
    }
    
    .status-badge i {
        font-size: 0.9375rem;
    }
    
    /* Buttons */
    .btn-register,
    .btn-feedback {
        padding: 0.8125rem;
        font-size: 0.875rem;
    }
    
    /* Payment Info */
    .payment-title {
        font-size: 0.9375rem;
        margin-bottom: 0.875rem;
    }
    
    .bank-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .bank-label {
        font-size: 0.8125rem;
    }
    
    .bank-value {
        font-size: 0.875rem;
    }
    
    .payment-warning {
        margin: 1.25rem 0;
        padding: 0.875rem;
        border-radius: 0.625rem;
    }
    
    .payment-warning i {
        font-size: 1.125rem;
    }
    
    .payment-warning p {
        font-size: 0.8125rem;
    }
    
    /* Share Buttons */
    .share-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }
    
    .share-btn {
        font-size: 1.125rem;
        border-radius: 0.625rem;
    }
    
    /* Related Items */
    .related-item {
        padding: 0.875rem;
        border-radius: 0.625rem;
        margin-bottom: 0.875rem;
    }
    
    .related-image {
        width: 70px;
        height: 70px;
        min-width: 70px;
        border-radius: 0.4375rem;
    }
    
    .related-info h6 {
        font-size: 0.875rem;
        margin-bottom: 0.4375rem;
    }
    
    .related-info p {
        font-size: 0.75rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 1.25rem 0;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
        border-radius: 1.25rem;
        min-height: 180px;
    }
    
    .cta-title {
        font-size: 1.625rem;
        margin-bottom: 0.875rem;
    }
    
    .cta-text {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .btn-cta-contact {
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575.98px) {
    .detail-hero-section {
        padding: 4.5rem 0 2.5rem;
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: 1.625rem;
        margin-bottom: 1.25rem;
        line-height: 1.3;
    }
    
    .kategori-badge {
        font-size: 0.6875rem;
        padding: 0.3125rem 0.625rem;
        margin-bottom: 0.875rem;
        gap: 0.375rem;
    }
    
    .kategori-badge i {
        font-size: 0.75rem;
    }
    
    .breadcrumb {
        padding: 0.4375rem 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .breadcrumb-item {
        font-size: 0.6875rem;
    }
    
    .quick-info {
        gap: 0.875rem;
    }
    
    .quick-info .info-item {
        font-size: 0.75rem;
    }
    
    .quick-info .info-item i {
        font-size: 0.875rem;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9375rem;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
    
    /* Content Section */
    .detail-content-section {
        padding: 2.5rem 0;
    }
    
    .content-card {
        margin-bottom: 1.25rem;
        border-radius: 0.75rem;
    }
    
    .content-card .card-header {
        padding: 1rem 1.125rem;
    }
    
    .content-card .card-header i {
        font-size: 1rem;
    }
    
    .content-card .card-header h2 {
        font-size: 1.125rem;
    }
    
    .content-card .card-header h4 {
        font-size: 1rem;
    }
    
    .content-card .card-body {
        padding: 1.25rem;
    }
    
    /* Deskripsi */
    .kegiatan-deskripsi {
        font-size: 0.875rem;
        line-height: 1.65;
    }
    
    .kegiatan-deskripsi h3 {
        font-size: 1.125rem;
        margin-top: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .kegiatan-deskripsi h4 {
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: 0.625rem;
    }
    
    .kegiatan-deskripsi ul,
    .kegiatan-deskripsi ol {
        padding-left: 1.25rem;
        margin: 0.875rem 0;
    }
    
    .kegiatan-deskripsi li {
        margin-bottom: 0.4375rem;
    }
    
    /* Detail Grid */
    .detail-grid {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .detail-item {
        padding: 1rem;
        border-radius: 0.5rem;
    }
    
    .detail-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1rem;
        border-radius: 0.5rem;
    }
    
    .detail-content h5 {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }
    
    .detail-content p {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    
    .btn-link {
        font-size: 0.75rem;
        margin-top: 0.375rem;
    }
    
    /* Quota Info */
    .quota-number {
        font-size: 1.25rem;
        margin-bottom: 0.375rem;
    }
    
    .progress {
        height: 6px;
        margin-bottom: 0.375rem;
    }
    
    .quota-info small {
        font-size: 0.75rem;
    }
    
    /* Price Display */
    .price-display {
        font-size: 1.375rem;
    }
    
    .price-free {
        font-size: 1.25rem;
    }
    
    /* Contact Box */
    .contact-box {
        padding: 1.125rem;
        border-radius: 0.5rem;
        margin-top: 1.5rem;
        gap: 0.875rem;
    }
    
    .contact-box i {
        font-size: 1.25rem;
    }
    
    .contact-box h5 {
        font-size: 0.875rem;
    }
    
    .contact-box p {
        font-size: 0.8125rem;
    }
    
    /* Dokumen List */
    .dokumen-list {
        gap: 0.875rem;
    }
    
    .dokumen-item {
        padding: 1rem;
        border-radius: 0.5rem;
        gap: 0.875rem;
    }
    
    .dokumen-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
        border-radius: 0.375rem;
    }
    
    .dokumen-info h5 {
        font-size: 0.875rem;
        margin-bottom: 0.1875rem;
    }
    
    .dokumen-info p {
        font-size: 0.6875rem;
    }
    
    .dokumen-size {
        font-size: 0.6875rem;
    }
    
    /* Sidebar */
    .sidebar-card {
        margin-bottom: 1.25rem;
    }
    
    .sidebar-card .card-header {
        padding: 1rem 1.125rem;
    }
    
    .sidebar-card .card-header h4 {
        font-size: 1rem;
    }
    
    .sidebar-card .card-body {
        padding: 1.25rem;
    }
    
    /* Registration Info */
    .registration-info p {
        font-size: 0.8125rem;
        margin-bottom: 0.625rem;
        line-height: 1.5;
    }
    
    /* Status Badge */
    .status-badge {
        padding: 0.5625rem 1rem;
        font-size: 0.75rem;
    }
    
    .status-badge i {
        font-size: 0.875rem;
    }
    
    /* Buttons */
    .btn-register,
    .btn-feedback {
        padding: 0.75rem;
        font-size: 0.8125rem;
        border-radius: 0.625rem;
        gap: 0.375rem;
    }
    
    .btn-register i,
    .btn-feedback i {
        font-size: 0.9375rem;
    }
    
    /* Payment Info */
    .payment-title {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    .bank-info {
        gap: 0.625rem;
    }
    
    .bank-label {
        font-size: 0.75rem;
    }
    
    .bank-value {
        font-size: 0.8125rem;
    }
    
    .payment-notes {
        margin-top: 0.875rem;
        padding-top: 0.875rem;
        gap: 0.4375rem;
    }
    
    .payment-notes i {
        font-size: 0.8125rem;
    }
    
    .payment-notes small {
        font-size: 0.75rem;
    }
    
    .payment-warning {
        margin: 1.125rem 0;
        padding: 0.75rem;
        border-radius: 0.5rem;
        gap: 0.625rem;
    }
    
    .payment-warning i {
        font-size: 1rem;
    }
    
    .payment-warning p {
        font-size: 0.75rem;
    }
    
    /* Closed Info */
    .closed-info {
        padding: 1rem;
    }
    
    .status-message {
        margin: 0.875rem 0;
        font-size: 0.875rem;
    }
    
    /* Share Card */
    .share-card .card-body {
        padding: 1.125rem;
    }
    
    .share-buttons {
        gap: 0.5rem;
    }
    
    .share-btn {
        font-size: 1rem;
        border-radius: 0.5rem;
    }
    
    /* Related Card */
    .related-card .card-body {
        padding: 1rem;
    }
    
    .related-item {
        padding: 0.75rem;
        border-radius: 0.5rem;
        margin-bottom: 0.75rem;
        gap: 0.875rem;
    }
    
    .related-image {
        width: 65px;
        height: 65px;
        min-width: 65px;
        border-radius: 0.375rem;
    }
    
    .related-image .placeholder {
        font-size: 1.75rem;
    }
    
    .related-info h6 {
        font-size: 0.8125rem;
        margin-bottom: 0.375rem;
        line-height: 1.35;
    }
    
    .related-info p {
        font-size: 0.6875rem;
    }
    
    .related-info p i {
        font-size: 0.6875rem;
    }
    
    /* Empty Related State */
    .empty-related {
        padding: 1.75rem 0.875rem;
    }
    
    .empty-related i {
        font-size: 2.25rem;
        margin-bottom: 0.875rem;
    }
    
    .empty-related p {
        font-size: 0.875rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 1rem 0;
    }
    
    .cta-box {
        padding: 1.75rem 1.25rem;
        border-radius: 1rem;
        min-height: 160px;
    }
    
    .cta-content {
        max-width: 100%;
    }
    
    .cta-title {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .cta-text {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .btn-cta-contact {
        padding: 0.6875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    /* Toast */
    .toast-notification {
        top: 80px;
        right: 10px;
        left: 10px;
        padding: 0.875rem 1.25rem;
        border-radius: 0.4375rem;
    }
    
    .toast-notification i {
        font-size: 1.125rem;
    }
    
    .toast-notification span {
        font-size: 0.875rem;
    }
}

/* Extra Small Mobile (up to 374px) */
@media (max-width: 374.98px) {
    .hero-title {
        font-size: 1.4375rem;
    }
    
    .quick-info .info-item {
        font-size: 0.6875rem;
    }
    
    .content-card .card-body {
        padding: 1.125rem;
    }
    
    .kegiatan-deskripsi {
        font-size: 0.8125rem;
    }
    
    .detail-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .detail-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 0.9375rem;
    }
    
    .detail-content h5 {
        font-size: 0.8125rem;
    }
    
    .detail-content p {
        font-size: 0.75rem;
    }
    
    .sidebar-card .card-body {
        padding: 1.125rem;
    }
    
    .btn-register,
    .btn-feedback {
        padding: 0.6875rem;
        font-size: 0.75rem;
    }
    
    .related-image {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .related-info h6 {
        font-size: 0.75rem;
    }
    
    .cta-box {
        padding: 1.5rem 1rem;
        min-height: 140px;
    }
    
    .cta-title {
        font-size: 1.25rem;
    }
    
    .cta-text {
        font-size: 0.8125rem;
    }
    
    .btn-cta-contact {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}