/* Metallic Blue Theme Variables - Matching bingo-card.css */
:root {
        --primary-color: #2c3e50;
        --secondary-color: #3498db;
        --accent-color: #1abc9c;
        --text-color: #ecf0f1;
        --background-color: #f5f7fa;
        --card-background: #233240;
        --border-color: #bdc3c7;
        --error-color: #e74c3c;
        --success-color: #2ecc71;
        --warning-color: #f39c12;
        --checked-color: #2ecc71;
        --unchecked-color: #112240;
        --hover-color: #34495e;
        --element-spacing: 10px;
        --table-border-color: #e9ecef; /* Light gray for borders */
    }
    
    /* Base Styles */
    html, body {
        font-family: 'Segoe UI', 'Roboto', sans-serif;
        background-color: var(--background-color);
        color: #212529;
        margin: 0;
        padding: 0;
        line-height: 1.6;
    }
    
    body {
        max-width: 1000px;
        margin: 0 auto;
        padding: 20px;
    }
    
    /* Header Section */
    h1 {
        font-size: 36px;
        color: var(--primary-color);
        margin-top: var(--element-spacing);
        margin-bottom: var(--element-spacing);
        text-align: left;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 15px;
        width: 100%;
    }
    
    /* Paragraph Styles */
    p {
        font-size: 16px;
        color: #495057;
        text-align: left;
        margin: var(--element-spacing) 0;
        background-color: white;
        border-radius: 8px;
        padding: 15px 20px;
        width: calc(100% - 40px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    p b {
        color: var(--primary-color);
    }
    
    /* Links */
    a {
        color: var(--secondary-color);
        text-decoration: none;
        transition: color 0.2s ease;
    }
    
    a:hover {
        color: #2980b9;
        text-decoration: underline;
    }
    
    /* Table Styles */
    table {
        width: 100%;
        max-width: 1000px;
        margin: var(--element-spacing) 0;
        border-collapse: collapse; /* Changed to collapse for proper borders */
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        background-color: white;
        border-radius: 8px;
        overflow: hidden;
    }
    
    th {
        background-color: var(--primary-color);
        color: var(--text-color);
        font-weight: 600;
        font-size: 14px; /* Reduced from 16px */
        padding: 8px 10px; /* Reduced from 12px */
        text-align: center;
        border-right: 1px solid rgba(255, 255, 255, 0.2); /* Subtle vertical borders in header */
        border-bottom: 1px solid var(--table-border-color);
    }
    
    th:last-child {
        border-right: none;
    }
    
    td {
        background-color: white;
        color: #212529;
        font-weight: 400;
        font-size: 14px; /* Reduced from 16px */
        padding: 6px 10px; /* Reduced from 12px */
        border-bottom: 1px solid var(--table-border-color);
        border-right: 1px solid var(--table-border-color);
        transition: background-color 0.2s ease;
    }
    
    td:last-child {
        border-right: none;
    }
    
    tr:last-child td {
        border-bottom: none;
    }
    
    tr:hover td {
        background-color: #f8f9fa;
    }
    
    /* Center aligned cells */
    td.center {
        text-align: center;
    }
    
    /* Checked/redeemed items */
    td.checked {
        background-color: var(--checked-color);
        color: white;
        text-decoration: line-through;
        opacity: 0.9;
    }
    
    tr:hover td.checked {
        background-color: #27ae60;
    }
    
    /* Status indicators */
    .green {
        color: var(--success-color);
        font-weight: 600;
    }
    
    .red {
        color: var(--error-color);
        font-weight: 600;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        body {
            padding: 15px 10px;
        }
        
        h1 {
            font-size: 26px;
            padding-bottom: 10px;
        }
        
        p {
            font-size: 14px;
            padding: 10px;
            width: calc(100% - 20px);
        }
        
        /* Make table scrollable horizontally on mobile */
        table {
            display: block;
            overflow-x: auto;
            white-space: nowrap;
        }
        
        th, td {
            padding: 5px 8px; /* Even more compact on mobile */
            font-size: 13px;
        }
    }
    
    @media (max-width: 480px) {
        body {
            padding: 10px;
        }
        
        h1 {
            font-size: 22px;
        }
        
        p {
            font-size: 13px;
            padding: 8px;
            width: calc(100% - 16px);
        }
        
        th, td {
            padding: 4px 6px; /* Very compact on small screens */
            font-size: 12px;
        }
    }

    /* Info Container for grouped paragraphs */
.info-container {
        background-color: white;
        border-radius: 8px;
        padding: 15px 20px;
        margin: var(--element-spacing) 0;
        width: calc(100% - 40px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      }
      
      .info-container p {
        background-color: transparent;
        border-radius: 0;
        padding: 0;
        margin: 10px 0;
        width: 100%;
        box-shadow: none;
      }
      
      .info-container p:first-child {
        margin-top: 0;
      }
      
      .info-container p:last-child {
        margin-bottom: 0;
      }
      
      @media (max-width: 768px) {
        .info-container {
          padding: 10px;
          width: calc(100% - 20px);
        }
      }
      
      @media (max-width: 480px) {
        .info-container {
          padding: 8px;
          width: calc(100% - 16px);
        }
      }