/* Estilos para el Modal de Selección de Formatos */
.format-card {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.format-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.format-card.selected {
    border-color: #0d6efd;
    background-color: #f8f9ff;
    box-shadow: 0 4px 12px rgba(13,110,253,0.2);
}

.format-card .format-icon {
    font-size: 2.5rem;
    color: #6c757d;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.format-card.selected .format-icon {
    color: #0d6efd;
}

.format-card:hover .format-icon {
    color: #0d6efd;
}

.format-preview {
    max-height: 150px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #f8f9fa;
    font-size: 0.7rem;
    line-height: 1.2;
    padding: 5px;
    margin-top: 10px;
}

.format-card h6 {
    font-weight: 600;
    color: #495057;
}

.format-card.selected h6 {
    color: #0d6efd;
}

.format-card p.text-muted {
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .format-card {
        margin-bottom: 15px;
    }

    .format-card .format-icon {
        font-size: 2rem;
    }

    .format-preview {
        max-height: 120px;
        font-size: 0.6rem;
    }
}

/* Loading spinner styling */
.format-loading {
    padding: 40px 0;
}

.format-loading .spinner-border {
    width: 3rem;
    height: 3rem;
}