* { box-sizing: border-box; margin: 0; padding: 0; }
.container { max-width: 1200px; margin: auto; background: white; padding: 20px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
h1, h2 { margin-bottom: 20px; }

/* Tabs */
.tabs { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid #ddd; }
.tab-btn { padding: 10px 20px; background: none; border: none; cursor: pointer; font-size: 16px; }
.tab-btn.active { border-bottom: 2px solid #007bff; color: #007bff; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Forms */
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; font-weight: bold; }
input, textarea, button { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 6px; }
button { background: #007bff; color: white; font-weight: bold; cursor: pointer; border: none; }
button:hover { background: #0056b3; }

/* Progress bar */
.progress-bar { width: 100%; background: #eee; border-radius: 8px; overflow: hidden; margin: 10px 0; }
#globalBar { height: 20px; background: #28a745; width: 0%; transition: width 0.3s; }
.file-status { margin: 5px 0; padding: 5px; background: #f9f9f9; border-left: 4px solid #007bff; }

/* Image Gallery (Collage Grid) */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); background: #fff; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.overlay { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.6); color: white; padding: 8px; text-align: center; }

/* Video Gallery */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.video-item { position: relative; background: #000; border-radius: 8px; overflow: hidden; }
.video-item img { width: 100%; height: 180px; object-fit: cover; opacity: 0.8; }
.video-item:hover img { opacity: 1; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 48px; color: white; text-shadow: 0 0 5px black; pointer-events: none; }

/* Single Post */
.single-post .image-container { text-align: center; margin: 20px 0; }
.clickable-image { max-width: 100%; cursor: pointer; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; margin: 20px 0; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.back-btn { display: inline-block; margin-top: 20px; background: #6c757d; color: white; padding: 8px 16px; border-radius: 6px; text-decoration: none; }

/* Lightbox */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); justify-content: center; align-items: center; z-index: 1000; }
.lightbox-content { max-width: 90%; max-height: 90%; border-radius: 8px; }
.close { position: absolute; top: 20px; right: 40px; color: white; font-size: 40px; cursor: pointer; }