/*
  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.
*/

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .controls {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    .control-buttons {
        grid-column: span 1;
    }

    .simulation-graph-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .header {
        margin-bottom: 20px;
        padding: 15px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .schedule-selection h2,
    .rate-adjustment h2 {
        font-size: 1.1rem;
    }

    .radio-item {
        padding: 10px;
    }

    .rate-adjustment {
        padding: 15px;
    }

    .simulation-graph-container {
        grid-template-columns: 1fr;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    .simulation-display {
        height: 200px;
    }

    .graph-container {
        padding: 15px;
    }

    #response-graph {
        width: 100%;
        max-width: 400px;
        height: 200px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .results {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-value {
        font-size: 1.3rem;
    }
}

/* Large Screen Optimizations */
@media (min-width: 1200px) {
    .controls {
        grid-template-columns: 2fr 1fr;
    }

    .schedule-selection {
        padding-right: 20px;
    }
}