:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --border-color: #cbd5e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f1f5f9;
    padding: 20px;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed; bottom: 30px; right: 30px; z-index: 99;
    display: none; background-color: var(--primary-color); color: white;
    font-weight: bold; font-size: large;
    border: none; outline: none; width: 50px; height: 50px;
    border-radius: 20%; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: opacity 0.3s, transform 0.3s;
}
#scrollTopBtn:hover { background-color: var(--secondary-color); transform: translateY(-5px); }

.container-main {
    max-width: 1200px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* header { text-align: center; border-bottom: 4px solid var(--primary-color); margin-bottom: 30px; padding-bottom: 20px; }
        .conf-header { font-size: 2.2rem; color: var(--primary-color); font-weight: 800; margin: 10px 0; } */

header {
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.org-header {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.conf-header {
    font-size: 1.9rem;
    color: var(--primary-color);
    margin: 10px 0;
    font-weight: 800;
}

.theme-box {
    background: #edf2f7;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    font-style: italic;
}

/* Card Styles */
.card {
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.card-header {
    cursor: pointer;
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 15px 20px;
}

.arrow {
    transition: transform 0.3s;
    display: inline-block;
    font-size: 0.8rem;
}

.arrow.up {
    transform: rotate(180deg);
}

/* Content Styling */
.session-info {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
    border-radius: 6px;
}

.session-content {
    font-size: 1.2rem;
}

.day-label {
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

table {
    width: 100%;
    font-size: 1.2rem;
    margin-top: 15px;
    border-collapse: collapse;
    background: white;
}

th,
td {
    border: 1px solid var(--border-color);
    padding: 12px;
    vertical-align: top;
}

th {
    background: #f1f5f9;
    color: var(--primary-color);
}

.author-cell {
    font-weight: bold;
    width: 30%;
    color: #334155;
}

.title-cell {
    font-style: italic;
    color: #1e40af;
}

.day-separator {
    text-align: center;
    background: #e2e8f0;
    color: #1a365d;
    padding: 10px;
    border-radius: 4px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.break-card {
    background: #fffbeb;
    border: 1px dashed #d97706;
    color: #92400e;
    text-align: center;
    padding: 10px;
    margin: 15px 0;
    border-radius: 6px;
    font-weight: 700;
}


/* Gallery Styles */
.thumb-wrapper img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.thumb-wrapper img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.img-holder {
    width: 100%;
    height: 160px;
    background: #e2e8f0;
    border-radius: 6px;
}

/* Advanced Modal Styles (script.js) */
#imageModal .modal-content {
    background: #000;
    border: none;
}

#modalImage {
    max-width: 100%;
    transition: transform 0.1s ease-out;
    cursor: grab;
}

#modalImage.dragging {
    cursor: grabbing;
    transition: none;
}

.image-counter {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 15px;
    border-radius: 20px;
    z-index: 10;
}

.modal-watermark {
    position: absolute;
    bottom: 15px;
    left: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    z-index: 10;
}