/* ============================================
   RESULTS PAGE STYLES
   Styles for the lottery results page
   ============================================ */

.results-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.results-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.results-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.results-header p {
    font-size: 1.3em;
    opacity: 0.95;
    margin: 0;
}

/* Grid layout for lottery cards */
.lottery-results-grid {
    margin: 0 -10px;
}

.lottery-results-grid > div {
    padding: 0 10px;
}

/* Remove numbers section min-height on results page */
.lottery-results-grid .lottery-card-numbers {
    display: none;
}

/* Adjust card content when numbers are hidden */
.lottery-results-grid .lottery-card-content {
    padding: 20px;
}

/* No results message */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 40px 0;
}

.no-results h2 {
    font-size: 2em;
    color: #6c757d;
    margin-bottom: 15px;
}

.no-results p {
    font-size: 1.2em;
    color: #6c757d;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .results-container {
        margin: 20px auto;
        padding: 0 15px;
    }

    .results-header {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    .results-header h1 {
        font-size: 2em;
    }

    .results-header p {
        font-size: 1.1em;
    }

    .lottery-results-grid {
        margin: 0 -5px;
    }

    .lottery-results-grid > div {
        padding: 0 5px;
    }

    .no-results {
        padding: 40px 15px;
    }

    .no-results h2 {
        font-size: 1.5em;
    }

    .no-results p {
        font-size: 1em;
    }
}

/* Ensure cards look good without numbers */
@media (min-width: 769px) {
    .lottery-results-grid .lottery-card-loto-online {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .lottery-results-grid .lottery-card-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .lottery-results-grid .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .lottery-results-grid .lottery-card-image img {
        max-height: 120px;
    }

    .lottery-results-grid .lottery-card-title {
        font-size: 14px;
    }

    .lottery-results-grid .lottery-card-date {
        font-size: 11px;
    }

    .lottery-results-grid .lottery-card-button a {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Tablet: 4 columns */
@media (min-width: 769px) and (max-width: 1024px) {
    .lottery-results-grid .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Desktop: 4 columns */
@media (min-width: 1025px) {
    .lottery-results-grid .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}
