/* Base Styles */
.info-section {
    padding: 1.5rem;
    border-bottom: 1px solid #323248;
}

.info-section:last-child {
    border-bottom: none;
}

.info-header {
    color: #92929f;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.info-content {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

/* Badge Styles */
.badge-custom {
    background: #1e1e2d;
    color: #3699ff;
    border: 1px solid #3699ff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Document Card Styles */
.document-card {
    background: #1e1e2d;
    border: 1px solid #323248;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.document-info {
    color: #92929f;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download {
    background: #3699ff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-download:hover {
    background: #2c3e50;
    transform: translateY(-1px);
    color: white;
}

/* Documentation Styles */
.documentation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.documentation-item {
    background: #1e1e2d;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.documentation-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

/* Tags Styles */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background: #1e1e2d;
    color: #3699ff;
    border: 1px solid #3699ff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Person Card Styles */
.person-card {
    background: #1e1e2d;
    border: 1px solid #323248;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.person-avatar {
    width: 40px;
    height: 40px;
    background: #3699ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* Checklist Table Styles */
.checklist-table {
    background-color: #1e1e2d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #323248;
}

.checklist-table th {
    background: linear-gradient(135deg, #323248 0%, #2a2a3a 100%);
    color: #ffffff;
    border: none;
    padding: 15px 12px;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
}

.checklist-table td {
    background-color: #1e1e2d;
    color: #ffffff;
    border: none;
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #323248;
}

.checklist-table tbody tr:last-child td {
    border-bottom: none;
}

.checklist-table tbody tr:hover td {
    background-color: #252530;
}

.checklist-icon {
    font-size: 1.2rem;
}

/* Undangan Table Styles */
.undangan-table {
    background-color: #1e1e2d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #323248;
}

.undangan-table th {
    background: linear-gradient(135deg, #323248 0%, #2a2a3a 100%);
    color: #ffffff;
    border: none;
    padding: 15px 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.undangan-table td {
    background-color: #1e1e2d;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-bottom: 1px solid #323248;
}

.undangan-table tbody tr:last-child td {
    border-bottom: none;
}

.undangan-table tbody tr:hover td {
    background-color: #252530;
}

/* Konfirmasi Badge Styles */
.konfirmasi-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.konfirmasi-hadir {
    background-color: #1e7e34;
    color: white;
    border: 1px solid #28a745;
}

.konfirmasi-diwakili {
    background-color: #856404;
    color: #fff3cd;
    border: 1px solid #ffc107;
}

.konfirmasi-tidak-hadir {
    background-color: #721c24;
    color: white;
    border: 1px solid #dc3545;
}

/* Location Detail Styles */
.location-detail {
    background-color: #1e1e2d;
    border: 1px solid #323248;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.location-detail strong {
    color: #92929f;
    font-size: 0.9rem;
}

.location-detail .row > div {
    margin-bottom: 10px;
}

/* Time Display Styles */
.time-display {
    background-color: #1e1e2d;
    border: 1px solid #3699ff;
    color: #3699ff;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Table Responsive Override */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

/* Text Utilities */
.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-muted {
    color: #92929f !important;
}

/* Card Enhancements */
.card {
    background: #1e1e2d;
    border: 1px solid #323248;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .info-section {
        padding: 1rem;
    }

    .documentation-grid {
        grid-template-columns: 1fr;
    }

    .document-card {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .checklist-table th,
    .checklist-table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }

    .undangan-table th,
    .undangan-table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }

    .person-card {
        flex-direction: column;
        text-align: center;
    }

    .location-detail .row > div {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .tags-container {
        flex-direction: column;
    }

    .tag-item {
        text-align: center;
    }

    .konfirmasi-badge {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
}
