/* Custom styles for an app-like feel */
body {
    font-family: 'Noto Sans Thai', sans-serif;
    background-color: #1a202c; /* Dark background */
}
.card {
    background-color: #2d3748; /* Card background */
    border: 1px solid #4a5568;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px -3px rgba(0, 0, 0, 0.2);
}
.play-button {
    background-color: #f79202;
    transition: background-color 0.2s ease;
}
.play-button:hover {
    background-color: #dd8202;
}
.share-button {
    background-color: #4a5568;
    transition: background-color 0.2s ease;
}
.share-button:hover {
    background-color: #718096;
}
.promo-button {
    background-color: #38a169; /* Green */
    transition: background-color 0.2s ease;
}
.promo-button:hover {
    background-color: #2f855a;
}
.rating-badge {
    background-color: #e53e3e;
    font-size: 0.7rem;
}
.number-badge {
    background-color: #4a5568;
    font-size: 0.7rem;
}
.new-badge {
    background-color: #38a169; /* Green color for NEW badge */
    font-size: 0.65rem;
    padding: 2px 8px;
}

/* Smaller text for content section */
.content-section h2 { font-size: 1.25rem; }
.content-section h3 { font-size: 1rem; }
.content-section h4 { font-size: 0.875rem; }
.content-section p, .content-section li { font-size: 0.75rem; }

/* Responsive font sizes for larger screens */
@media (min-width: 640px) {
    .content-section h2 { font-size: 1.5rem; }
    .content-section h3 { font-size: 1.125rem; }
    .content-section h4 { font-size: 1rem; }
    .content-section p, .content-section li { font-size: 0.875rem; }
}

/* Sidebar Menu Styles */
#sidebar-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}
#sidebar-menu.open {
    transform: translateX(0);
}

/* Lightbox style */
.promo-item-clickable {
    cursor: pointer;
}

#lightbox-modal .activity-detail-container {
    background-color: #2d3748;
    color: #cbd5e0;
    padding: 1rem;
    border-radius: 0.5rem;
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
#lightbox-modal .activity-close {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #f79202;
    margin-bottom: 1rem;
    border-bottom: 1px solid #4a5568;
    padding-bottom: 0.75rem;
}
#lightbox-modal .activity-close .close-icon {
    cursor: pointer;
    width: 24px;
    height: 24px;
    color: #fff;
}
#lightbox-modal .activity-desc .wysiwyg p {
    font-size: 0.875rem !important; 
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
#lightbox-modal .activity-desc .wysiwyg b {
    color: #f79202;
}
#lightbox-modal .activity-desc .wysiwyg img,
#lightbox-modal .activity-img img {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    width: 100%;
}
#lightbox-modal .activity-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

/* Custom styles for content in about.html */
.content-box {
    background-color: #2d3748; /* Card background */
    border: 1px solid #4a5568;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-section table th, .content-section table td {
    color: #cbd5e0; /* Lighter text for table content */
}
.content-section table p {
     font-size: 0.875rem; /* Ensure consistent text size in tables */
}
.content-section table strong {
    color: #ffffff;
}
