/* public/css/style.css */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 20px;
}
.container {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1, h2, h3 {
    color: #0056b3;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}
button, a.button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 5px 2px;
}
button:hover {
    background-color: #0056b3;
}
button.danger {
    background-color: #dc3545;
}
button.danger:hover {
    background-color: #c82333;
}
a {
    color: #007bff;
}
.info-box {
    background-color: #e7f3fe;
    border-left: 6px solid #2196F3;
    padding: 15px;
    margin-bottom: 20px;
}
.flash-message {
    border: 2px dashed #dc3545;
    background: #fffbe6;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

/* public/css/style.css - KIEGÉSZÍTÉS */

.group-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.group-card {
    flex: 1;
    min-width: 120px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #333;
    background-color: #f8f9fa;
    transition: all 0.2s ease-in-out;
}

.group-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.group-card.active {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
}

.group-card .icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.group-card .title {
    font-weight: bold;
    font-size: 1em;
}

.content-pane {
    display: none; /* Alapból minden tartalom rejtett */
}

.content-pane.active {
    display: block; /* Csak az aktív tartalom látszik */
}

/* public/css/style.css - KIEGÉSZÍTÉS */

.event-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-thumbnail {
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #eee;
}

.gallery-thumbnail img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumbnail:hover img {
    transform: scale(1.05);
}

/* --- LIGHTBOX STÍLUSOK --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border: 3px solid white;
    border-radius: 5px;
}

.lightbox-close, .lightbox-next, .lightbox-prev {
    position: absolute;
    color: white;
    font-size: 3em;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.lightbox-close {
    top: 15px;
    right: 30px;
}

.lightbox-next, .lightbox-prev {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 15px;
}

.lightbox-prev {
    left: 15