/* ========== BOLÃO PACKAGES - COMPETITOR STYLE ========== */

/* Main container for bolão screen */
#step-1b {
    background: linear-gradient(135deg, #1976D2 0%, #42A5F5 100%);
    padding: 15px;
    min-height: 100vh;
}

/* Back link */
.bolao-header {
    margin-bottom: 15px;
}

.link-back {
    background: none;
    border: none;
    color: #1565C0;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    text-decoration: none;
}

.link-back:hover {
    text-decoration: underline;
}

/* Package cards container */
.bolao-packages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 120px;
    /* Space for footer */
}

/* Individual package card */
.package-card {
    background: white;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 10;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.package-info {
    flex: 1;
}

.package-info h3 {
    color: #1a365d;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.package-price {
    color: #209869 !important;
    /* Teal/turquoise color */
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

/* Package controls (right side) */
.package-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* Quantity control */
.qty-control {
    display: flex;
    align-items: center;
    background: #1565C0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    z-index: 20 !important;
    pointer-events: auto !important;
}

.qty-control button.qty-minus,
.qty-control button.qty-plus {
    background: #1565C0;
    border: none;
    color: white;
    width: 32px;
    height: 36px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    z-index: 30 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
}

.qty-control button.qty-minus:hover,
.qty-control button.qty-plus:hover {
    background: #0d47a1;
}

.qty-control button.qty-minus:active,
.qty-control button.qty-plus:active {
    background: #1a237e;
}

.qty-input {
    background: #1976D2;
    border: none;
    color: white;
    width: 45px;
    height: 36px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* Ver Números link */
.link-numbers {
    background: none;
    border: none;
    color: #1565C0;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 30 !important;
    pointer-events: auto !important;
}

.link-numbers:hover {
    text-decoration: underline;
}

/* Package numbers display */
.package-numbers {
    background: #f8fafc;
    padding: 12px 15px;
    margin-top: 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.6;
}

.package-numbers p {
    margin: 5px 0;
}

/* Bolão Footer - Fixed at bottom */
.bolao-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e3a5f;
    padding: 20px;
    z-index: 1000;
}

.bolao-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.total-label {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
}

.total-amount {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Concluir Aposta button */
#btn-concluir-bolao,
.btn-concluir-bolao {
    width: 100%;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

#btn-concluir-bolao:hover,
.btn-concluir-bolao:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* Cart icon for button */
.cart-icon {
    font-size: 1.2rem;
}

/* Pointer events fixes */
.package-header,
.package-info,
.package-controls {
    pointer-events: none;
}

.package-controls>* {
    pointer-events: auto;
}