@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

.andale-concrete-calculator-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 40px 20px;
}

.andale-calc-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
.andale-calc-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #ff6600;
}

.andale-calc-title {
    margin: 0 0 10px 0;
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.andale-calc-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Calculator Card */
.andale-calc-card {
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.andale-calc-section {
    margin-bottom: 32px;
}

.andale-calc-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.andale-calc-button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.andale-calc-button-group {
    display: flex;
    gap: 12px;
}

.andale-calc-btn {
    padding: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #fff;
    color: #333;
}

.andale-calc-btn:hover {
    border-color: #ff6600;
    color: #ff6600;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.15);
}

.andale-calc-btn-active {
    background: #ff6600;
    border-color: #ff6600;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

.andale-calc-btn-active:hover {
    background: #e55a00;
    border-color: #e55a00;
    color: #fff;
    transform: translateY(-1px);
}

.andale-calc-btn-unit {
    flex: 1;
    padding: 14px;
}

/* Input Fields */
.andale-calc-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.andale-calc-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.andale-calc-input-group input {
    width: 100%;
    padding: 14px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    color: #000;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.andale-calc-input-group input:focus {
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

/* Action Buttons */
.andale-calc-button-row {
    display: flex;
    gap: 15px;
    margin-top: 32px;
}

.andale-calc-btn-primary {
    flex: 1;
    padding: 18px;
    background: #ff6600;
    border: 2px solid #ff6600;
    border-radius: 6px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

.andale-calc-btn-primary:hover {
    background: #e55a00;
    border-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.35);
}

.andale-calc-btn-secondary {
    padding: 18px 30px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 6px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.andale-calc-btn-secondary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* Results */
.andale-calc-results {
    margin-top: 40px;
    background: #fff;
    border: 3px solid #ff6600;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.15);
    animation: slideInUp 0.4s ease-out;
}

.andale-calc-results-title {
    margin: 0 0 30px 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ff6600;
}

.andale-calc-results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.andale-calc-result-card {
    flex: 1 1 220px;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    padding: 24px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.andale-calc-result-card:hover {
    border-color: #ff6600;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.15);
}

.andale-calc-result-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ff6600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.andale-calc-result-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #000;
}

/* Trucks Section */
.andale-calc-bags-section {
    background: #000;
    padding: 30px;
    border-radius: 8px;
}

.andale-calc-bags-title {
    margin: 0 0 20px 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.andale-calc-bags-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.andale-calc-bag-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 8px;
}

.andale-calc-bag-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

/* Info Footer */
.andale-calc-info-footer {
    margin-top: 30px;
    padding: 20px;
    background: #fffaf0;
    border-left: 4px solid #ff6600;
    border-radius: 4px;
}

.andale-calc-info-footer p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.andale-calc-info-footer strong {
    color: #ff6600;
    font-weight: 700;
}

/* Branding */
.andale-calc-branding {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.andale-calc-branding p {
    margin: 0;
    font-size: 0.9rem;
    color: #999;
}

.andale-calc-branding strong {
    color: #000;
    font-weight: 700;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .andale-calc-title {
        font-size: 2rem;
    }
    
    .andale-calc-card {
        padding: 25px;
    }
    
    .andale-calc-button-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .andale-calc-input-grid {
        grid-template-columns: 1fr;
    }
    
    .andale-calc-button-row {
        flex-direction: column;
    }
    
    .andale-calc-bags-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
