/* Custom CSS for School and Hry o tróny - Premium Aesthetics */

:root {
    --hot-accent: #ffd700; /* Gold for "Hry o tróny" */
    --hot-bg: #17212b;
    --hot-card: #242f3d;
    --hot-success: #4caf50;
    --hot-future: #444;
}

.school-container {
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Premium Card Styles */
.hot-card {
    background: var(--hot-card);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hot-title {
    color: var(--hot-accent);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Admin Controls Area */
.hot-admin-area {
    background: rgba(255, 215, 0, 0.05);
    border: 1px dashed var(--hot-accent);
    border-radius: 15px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Challenge Statuses */
.challenge-item {
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--hot-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.challenge-item.active {
    border-color: var(--hot-accent);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.challenge-item.future {
    filter: grayscale(1);
    opacity: 0.5;
    cursor: not-allowed;
}

.challenge-item.past {
    border-color: var(--hot-success);
    background: rgba(76, 175, 80, 0.05);
}

/* Custom Table for Results */
.hot-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.hot-table th {
    padding: 12px;
    text-align: left;
    color: var(--text-dim);
    font-size: 12px;
    text-transform: uppercase;
}

.hot-table tr {
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s;
}

.hot-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hot-table td {
    padding: 12px;
}

.hot-table tr td:first-child { border-radius: 10px 0 0 10px; }
.hot-table tr td:last-child { border-radius: 0 10px 10px 0; }

/* Admin Code Input Area (replaced chat input) */
.hot-auth-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--hot-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hot-auth-bar input {
    flex: 1;
    background: var(--hot-card);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    outline: none;
}

.hot-auth-bar button {
    background: var(--hot-accent);
    color: black;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.hot-auth-bar button:hover {
    opacity: 0.8;
}

/* Photo Preview */
#hotPhotoPreview img {
    width: 100%;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Glassmorphism for Modals in School View */
.school-modal {
    backdrop-filter: blur(10px);
    background: rgba(23, 33, 43, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
