/**
 * Austral Cotizador - Calculator Styles
 */

/* Container */
img.icon-cot {
    max-width: 35px;
    width: 100%;
}
.aaustral-cotizador-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.aaustral-cotizador-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

/* Title */
.aaustral-cotizador-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    text-align: center;
}

.aaustral-cotizador-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin: 0 0 30px 0;
}

/* Form */
.aaustral-cotizador-form {
    margin-bottom: 30px;
}

.aaustral-form-row {
    margin-bottom: 25px;
}

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

.aaustral-form-group label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.label-icon {
    font-size: 20px;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #666;
    pointer-events: none;
}

.aaustral-form-group input[type="text"] {
    width: 100%;
    padding: 14px 15px 14px 35px;
    font-size: 16px;
    border: 2px solid #004aad;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.aaustral-form-group input[type="text"]:focus {
    outline: none;
    border-color: #004aad;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.aaustral-form-group select {
    width: 100%;
    padding: 14px 15px;
    font-size: 16px;
    border: 2px solid #004aad;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Source Sans Pro", Sans-serif;
}

.aaustral-form-group select:focus {
    outline: none;
    border-color: #007bff;
}

.field-help {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
    display: block;
}

/* Form Actions */
.aaustral-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.aaustral-btn-calculate,
.aaustral-btn-reset {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-family: "Source Sans Pro", Sans-serif;
}

.aaustral-btn-calculate {
    flex: 1;
    background: #004aad;
    color: #fff;
}

.aaustral-btn-calculate:hover {
    background: #004aad;
    transform: translateY(-2px);

}

.aaustral-btn-reset {
    background: #f8f9fa;
    color: #666 !important;
    border: 2px solid #e0e0e0;
}

.aaustral-btn-reset:hover {
    background: #e9ecef;
    border-color: #ccc;
}

.btn-icon {
    font-size: 18px;
}

/* Results */
.aaustral-results {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 25px 0;
    text-align: center;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-card-primary {
    background: #004aad;
    color: #fff;
}

.result-card-secondary {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #fff;
}

.result-icon {
    font-size: 40px;
    line-height: 1;
}

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

.result-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.result-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.result-note {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

/* Results Summary */
.results-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 15px;
    color: #666;
}

.summary-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Results Action */
.results-action {
    text-align: center;
}

.aaustral-btn-view-cars {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    background: #5de0e6;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.aaustral-btn-view-cars:hover {
    background: linear-gradient(135deg, #ee5a6f 0%, #c92a2a 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .aaustral-cotizador-wrapper {
        padding: 25px 20px;
    }
    
    .aaustral-cotizador-title {
        font-size: 26px;
    }
    
    .aaustral-form-actions {
        flex-direction: column;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .result-value {
        font-size: 24px;
    }
    
    .aaustral-btn-view-cars {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .aaustral-cotizador-container {
        padding: 0 15px;
    }
    
    .aaustral-cotizador-wrapper {
        padding: 20px 15px;
    }
    
    .aaustral-cotizador-title {
        font-size: 22px;
    }
    
    .result-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .result-icon {
        font-size: 35px;
    }
}
