/* Commission Calculator Styles */
.calculator-section {
    background: white;
    color: #1f2937;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calculator-header p {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
}

.calculator-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1f2937;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control:hover {
    border-color: #9ca3af;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-calculate {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-calculate:active {
    transform: translateY(0);
}

.calculator-results {
    margin-top: 2rem;
}

.result-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.result-header i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.result-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.result-item.total {
    border-top: 2px solid #3b82f6;
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.result-label {
    font-weight: 600;
    color: #374151;
}

.result-value {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.125rem;
}

.result-item.total .result-value {
    color: #3b82f6;
    font-size: 1.25rem;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading .btn-calculate {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calculator-section {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .calculator-header h2 {
        font-size: 1.75rem;
    }
    
    .btn-calculate {
        width: 100%;
        justify-content: center;
    }
}

/* Asegurar que todos los elementos sean clickeables */
* {
    cursor: default !important;
}

button,
input,
select,
a,
.clickable {
    cursor: pointer !important;
}

input[readonly] {
    cursor: not-allowed !important;
}



