/*
  Copyright 2025 John Greth <https://github.com/jgreth0>

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/

/* Challenge Mode Specific Styles */

/* Update header for challenge mode */
.header h1 {
    color: #8e44ad;
}

.timer-display {
    background: #8e44ad;
}

/* Fix sizes for additional hidden stat items */
.stat-item#responses-section,
.stat-item#reinforcements-section {
    min-height: 120px;
    min-width: 200px;
    max-width: 200px;
}

.stat-item#responses-section .stat-value,
.stat-item#reinforcements-section .stat-value {
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5px;
}

/* Adjust grid layout for challenge mode with more hidden items */
@media (min-width: 768px) {
    .results .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .results .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Control buttons layout for challenge mode */
.control-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .control-buttons {
        flex-direction: column;
    }

    .btn-tertiary {
        margin-left: 0;
    }
}