/* Win Table Styles */
.win-table {
    margin: 10px auto;
    max-width: 800px;
    background: var(--secondary-color);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.win-table h3 {
    color: #FFD700;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.win-explanation {
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.9em;
}

.prize-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}

.prize-column {
    flex: 1;
}

.prize-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85em;
}

.prize-table th,
.prize-table td {
    padding: 4px 8px;
    text-align: center;
    border: 1px solid #444;
}

.prize-table th {
    background: #1a1a1a;
    color: #FFD700;
    font-size: 0.9em;
}

.prize-table tr:nth-child(even) {
    background: #2a2a2a;
}

.prize-table .special-case {
    background: #3a1a1a;
}

.prize-table .jackpot-case {
    background: #4a1a1a;
}

.win-notes {
    color: #ffffff;
    margin-top: 10px;
    padding: 10px;
    background: #1a1a1a;
    border-radius: 5px;
    font-size: 0.85em;
}

.win-notes ul {
    margin: 5px 0;
    padding-left: 20px;
}

.win-notes li {
    margin: 3px 0;
    color: #FFD700;
}

@media (max-width: 600px) {
    .prize-grid {
        flex-direction: column;
    }
}

/* Registration Section Styles */
.registration-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.registration-form, .participants-list {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
}

.registration-form h3, .participants-list h3 {
    color: var(--accent-color);
    margin: 0 0 20px 0;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

.radio-group label {
    display: inline;
    color: #fff;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    font-size: 14px;
}

.form-group input[type="text"]:focus {
    border-color: var(--accent-color);
    outline: none;
}

.register-button {
    width: 100%;
    padding: 10px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.register-button:hover {
    background-color: #45a049;
}

.hidden {
    display: none;
}

.form-note {
    display: block;
    color: #FFD700;
    font-size: 12px;
    margin-top: 4px;
    font-style: italic;
}

.form-warning {
    display: block;
    color: #ff6b6b;
    font-size: 11px;
    margin-top: 6px;
    font-weight: 500;
}

.participant-actions {
    display: inline-flex;
    gap: 6px;
    flex-shrink: 0;
}

.participant-actions button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.participant-actions button:hover {
    transform: scale(1.1);
}

.participant-actions .edit-btn:hover {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

.participant-actions .delete-btn:hover {
    background: #f44336;
    border-color: #f44336;
    color: #fff;
}

.participant-name {
    flex: 1;
    min-width: 0;
}

.participant-date {
    flex-shrink: 0;
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

/* Registration Stats */
.registration-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding: 15px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.stat-box {
    text-align: center;
    padding: 10px;
    flex: 1;
}

.stat-box:first-child {
    border-right: 1px solid rgba(76, 175, 80, 0.2);
}

.stat-box h4 {
    color: #4CAF50;
    margin: 0 0 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-box span {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tab-button {
    padding: 8px 16px;
    background: #1a1a1a;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tab-button.active {
    background: var(--accent-color);
}

.participants-list {
    background-color: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 8px;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.participants-log {
    flex: 1;
    overflow-y: auto;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    padding: 10px;
    min-height: 0;
}

.participant-entry {
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.participant-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.participant-entry .participant-name {
    font-weight: 500;
    color: #FFD700;
}

.participant-entry .participant-date {
    font-size: 12px;
    color: #888;
}

.participant-card {
    background: #1a1a1a;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.participant-name {
    color: #fff;
}

.participant-date {
    color: #888;
    font-size: 12px;
}

@media (max-width: 768px) {
    .registration-section {
        grid-template-columns: 1fr;
    }
}
