
/* CBTa 256 - Estilos del Plugin */
:root {
    --cbta-primary: #00502E;
    --cbta-secondary: #006838;
    --cbta-light: #f5f5f5;
    --cbta-danger: #dc3545;
}

.cbta256-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.cbta256-header {
    text-align: center;
    margin-bottom: 40px;
}

.cbta256-logo {
    max-height: 100px;
    margin-bottom: 20px;
}

.cbta256-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.cbta256-form-group {
    margin-bottom: 20px;
}

.cbta256-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--cbta-primary);
}

.cbta256-form-group input,
.cbta256-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.cbta256-form-group input:focus,
.cbta256-form-group textarea:focus {
    outline: none;
    border-color: var(--cbta-primary);
}

.cbta256-btn {
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.cbta256-btn-primary {
    background: var(--cbta-primary);
    color: white;
}

.cbta256-btn-primary:hover {
    background: var(--cbta-secondary);
}

.cbta256-btn-secondary {
    background: #6c757d;
    color: white;
}

.cbta256-btn-success {
    background: #28a745;
    color: white;
}

.cbta256-alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.cbta256-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cbta256-alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.cbta256-fecha-entrega {
    color: var(--cbta-danger);
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: #f8d7da;
    border-radius: 5px;
}

.cbta256-info-cuotas {
    background: #e7f3ff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.cbta256-info-cuotas h4 {
    color: var(--cbta-primary);
    margin-bottom: 15px;
}

.cbta256-info-cuotas ul {
    list-style: none;
    padding: 0;
}

.cbta256-info-cuotas li {
    padding: 5px 0;
    font-size: 16px;
}

.cbta256-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--cbta-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#cbta256-loading {
    text-align: center;
    padding: 40px;
}

.cbta256-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.cbta256-required {
    color: var(--cbta-danger);
}

@media (max-width: 768px) {
    .cbta256-container {
        padding: 10px;
    }
    
    .cbta256-section {
        padding: 20px;
    }
}
    