/* ==========================================
   ESTILOS DO SISTEMA DE LEILÃO (AUCTION)
   ========================================== */

.auction-active-box {
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #10b981;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.auction-active-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.auction-badge-active {
    background: #10b981;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.auction-duration {
    font-size: 12px;
    color: #64748b;
}

.auction-active-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.auction-active-icon-box {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.auction-active-icon {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
}

.auction-active-details {
    flex: 1;
}

.auction-active-title {
    margin: 0 0 5px 0;
    color: var(--kro-blue, #00468c);
    font-size: 16px;
}

.auction-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.auction-price-card {
    background: #f8fafc;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.auction-price-label {
    font-size: 10px;
    color: #64748b;
    display: block;
    font-weight: bold;
}

.auction-price-val-green {
    color: #10b981;
    font-size: 15px;
    font-weight: bold;
}

.auction-price-val {
    font-size: 14px;
    font-weight: bold;
    color: #334155;
}

.auction-section-title {
    color: var(--kro-blue, #00468c);
    margin: 25px 0 15px 0;
    font-size: 16px;
}

.auction-grid-mb {
    margin-bottom: 25px;
}

.auction-queue-card {
    padding: 12px;
}

.auction-queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.auction-queue-title {
    font-size: 13px;
    color: var(--kro-blue, #00468c);
}

.auction-time-badge {
    background: #e0f2fe;
    color: #0284c7;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
}

.auction-queue-body {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auction-queue-img {
    width: 28px;
    height: 28px;
    image-rendering: pixelated;
}

.auction-queue-text {
    font-size: 11px;
    color: #64748b;
}

.auction-empty-grid {
    grid-column: 1 / -1;
    padding: 20px;
}

.auction-table-icon-img {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
}

.auction-small-text {
    display: block;
    color: #64748b;
    font-size: 10px;
}

.auction-winner-text {
    color: var(--kro-blue, #00468c);
}

.auction-bid-final {
    color: #10b981;
}

.auction-status-claimed {
    background: #dcfce7;
    color: #166534;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.auction-status-pending {
    background: #fef3c7;
    color: #92400e;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

/* ==========================================
   SISTEMA DE VOTAÇÃO (VOTE FOR REWARDS)
   ========================================== */
.vote-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vote-top-banner {
    background: linear-gradient(135deg, #00468c 0%, #002b5c 100%);
    color: #fff;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.vote-top-info h3 {
    margin: 0 0 5px 0;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vote-top-info p {
    margin: 0;
    opacity: 0.85;
    font-size: 13px;
}

.vote-points-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.vote-points-pill img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.vote-points-text span {
    font-size: 11px;
    opacity: 0.8;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vote-points-text strong {
    font-size: 18px;
    color: #4ade80;
}

.vote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.vote-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--dash-border, #e2e8f0);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.vote-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08);
}

.vote-card.locked {
    opacity: 0.8;
    background: #f8fafc;
}

.vote-card-banner {
    width: 100%;
    height: 110px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--dash-border, #e2e8f0);
    position: relative;
    overflow: hidden;
}

.vote-card-banner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.vote-card:hover .vote-card-banner img {
    transform: scale(1.03);
}

.vote-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.vote-card-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--dash-blue, #00468c);
    margin: 0;
}

.vote-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #edf2f7;
}

.vote-reward {
    color: #059669;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vote-cooldown {
    color: #64748b;
    font-size: 12px;
}

.vote-lock-alert {
    background: #fef2f2;
    color: #991b1b;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.vote-card-footer {
    padding: 0 18px 18px 18px;
}

.btn-vote {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--dash-blue, #00468c);
    color: #fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,70,140,0.2);
}

.btn-vote:hover {
    background: #003366;
    color: #fff;
}

.btn-locked {
    display: block;
    width: 100%;
    text-align: center;
    background: #e2e8f0;
    color: #94a3b8;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 13px;
    cursor: not-allowed;
    border: none;
}

/* ==========================================
   SISTEMA DE VOTAÇÃO - CLASSES ADICIONAIS
   ========================================== */
.vote-redirect-box {
    background: #fff;
    border-radius: 10px;
    padding: 50px;
    border: 1px solid var(--dash-border, #e2e8f0);
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.vote-redirect-box h3 {
    color: var(--dash-blue, #00468c);
    margin-bottom: 15px;
    font-size: 22px;
}

.vote-redirect-box p {
    color: var(--text-muted, #64748b);
    font-size: 15px;
    margin-bottom: 25px;
}

.vote-redirect-btn-wrapper {
    margin-bottom: 20px;
}

.vote-redirect-box .btn-vote {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
}

.vote-login-btn {
    max-width: 250px;
    margin: 0 auto;
}

.vote-redirect-timer {
    font-size: 12px;
    color: #94a3b8;
}

.vote-empty-box {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    border: 1px solid var(--dash-border, #e2e8f0);
    text-align: center;
}

.vote-empty-box p {
    color: var(--text-muted, #64748b);
    margin: 0;
    font-size: 15px;
}