/* ============================================
   Regulamentos Page - Fiel ao App Flutter
   ============================================ */

.regulamentos-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #0d4a2a 0%, #0a3d23 40%, #072e1a 100%);
    padding: 24px 20px 140px;
}

/* Header */
.regulamentos-header {
    text-align: center;
    margin-bottom: 24px;
}

.regulamentos-title {
    font-family: 'Mulish', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: #e5e5e5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px;
}

.regulamentos-subtitle {
    font-family: 'Mulish', sans-serif;
    font-size: 0.9rem;
    color: #c0c0c0;
    margin: 0;
}

/* List */
.regulamentos-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

/* Card */
.regulamento-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    border: 2px solid #ffd401;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.regulamento-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.regulamento-pdf-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dc3545, #b02a37);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.regulamento-pdf-icon i {
    font-size: 1.4rem;
    color: #fff;
}

.regulamento-tag-oficial {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a6b3c;
    background: rgba(26, 107, 60, 0.1);
    border: 1px solid rgba(26, 107, 60, 0.2);
    letter-spacing: 0.5px;
}

.regulamento-card-title {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.regulamento-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #666;
    margin-bottom: 16px;
}

.regulamento-card-date i {
    font-size: 0.7rem;
}

.regulamento-card-desc {
    font-family: 'Mulish', sans-serif;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 24px;
}

.regulamento-btn-pdf {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #1a4f7a, #0d3a5c);
    color: #fff;
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.regulamento-btn-pdf:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 79, 122, 0.3);
    color: #fff;
}

/* Info Card - Campanha Regulamentada */
.regulamento-info-card {
    background: linear-gradient(135deg, #1a4f7a, #0d3a5c);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.regulamento-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.regulamento-info-icon i {
    font-size: 1.4rem;
    color: #fff;
}

.regulamento-info-title {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 8px;
}

.regulamento-info-text {
    font-family: 'Mulish', sans-serif;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin: 0;
}

/* Loading */
.regulamentos-loading {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.5);
}

.regulamentos-loading i {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty / Error */
.regulamentos-empty {
    text-align: center;
    padding: 60px 20px;
}

.regulamentos-empty i {
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
    display: block;
    margin-bottom: 12px;
}

.regulamentos-empty h5 {
    color: #e5e5e5;
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
}

.regulamentos-empty p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (min-width: 768px) {
    .regulamentos-list,
    .regulamentos-header,
    .regulamento-info-card {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}
