/* ========================================
   Concurso Ver (Detalhes) - Tema 3
   Prefeitura de Claraval
   ======================================== */

/* Detail Box */
.detail-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.detail-box:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.detail-box .detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-box .detail-icon i {
    font-size: 1.3rem;
    color: white;
}

.detail-box .detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.detail-box .detail-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.detail-box .detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Cargos */
.cargo-item {
    background: #f9fafb;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cargo-item:hover {
    background: white;
    border-color: var(--success);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cargo-item .cargo-titulo {
    flex: 1;
    font-weight: 600;
    color: var(--text-primary);
}

.cargo-item .cargo-vagas .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Documentos List */
.documentos-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.documento-item {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.documento-item:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.documento-item .documento-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.documento-item .documento-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.documento-item .documento-icon i {
    font-size: 1.5rem;
    color: white;
}

.documento-item .documento-details {
    display: flex;
    flex-direction: column;
}

.documento-item .documento-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.documento-item .documento-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.documento-item .documento-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.documento-item .documento-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

/* Alert Success (Inscrições Abertas) */
.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
}

.alert-success .alert-heading {
    color: #155724;
}

.alert-success .btn-success {
    background: #28a745;
    border-color: #28a745;
}

.alert-success .btn-success:hover {
    background: #218838;
    border-color: #1e7e34;
}

/* Empty State */
.empty-state {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.empty-state .empty-icon i {
    color: #ffc107;
}

/* Responsive */
@media (max-width: 768px) {
    .detail-box {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-box .detail-icon {
        margin-bottom: 0.5rem;
    }
    
    .cargo-item {
        flex-direction: column;
        text-align: center;
    }
    
    .documento-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .documento-item .documento-info {
        flex-direction: column;
        text-align: center;
    }
    
    .documento-item .documento-download {
        width: 100%;
        justify-content: center;
    }
    
    .alert-success {
        text-align: center;
    }
    
    .alert-success .d-flex {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .alert-success .btn {
        width: 100%;
    }
}

