/* China Import Calculator - Dark Theme with Blue Accents */
.cic-calculator-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e0e0e0;
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cic-calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.cic-input-section,
.cic-results-section {
    background: rgba(40, 40, 40, 0.9);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cic-input-section:hover,
.cic-results-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.cic-section-title {
    color: #00A3FE;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.cic-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00A3FE, #0036BE);
    border-radius: 2px;
}

.cic-form-group {
    margin-bottom: 25px;
    position: relative;
}

.cic-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.cic-form-group input,
.cic-form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(30, 30, 30, 0.9);
    border: 2px solid #444;
    border-radius: 8px;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.cic-form-group input::placeholder {
    color: #777;
}

.cic-form-group input:focus,
.cic-form-group select:focus {
    outline: none;
    border-color: #00A3FE;
    box-shadow: 0 0 0 3px rgba(0, 163, 254, 0.2);
    background: rgba(35, 35, 35, 0.95);
}

.cic-calculate-btn {
    background: linear-gradient(135deg, #00A3FE 0%, #0036BE 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 163, 254, 0.3);
}

.cic-calculate-btn:hover {
    background: linear-gradient(135deg, #0036BE 0%, #00A3FE 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 254, 0.4);
}

.cic-result-item {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.cic-result-item:hover {
    background: rgba(0, 163, 254, 0.05);
    border-radius: 6px;
    padding-left: 10px;
    padding-right: 10px;
}

.cic-result-item:last-child {
    border-bottom: none;
}

.cic-result-item.cic-total {
    border-top: 3px solid #00A3FE;
    margin-top: 20px;
    padding-top: 25px;
    font-weight: bold;
    font-size: 1.3rem;
    background: rgba(0, 163, 254, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.cic-result-label {
    color: #b0b0b0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cic-result-value {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
}

.cic-total .cic-result-value {
    color: #00A3FE;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
    .cic-calculator-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cic-input-section,
    .cic-results-section {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .cic-calculator-wrapper {
        padding: 20px 15px;
    }
    
    .cic-section-title {
        font-size: 1.6rem;
    }
    
    .cic-input-section,
    .cic-results-section {
        padding: 25px 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cic-input-section,
.cic-results-section {
    animation: fadeIn 0.5s ease-out;
}

/* Error message styling */
.cic-error-message {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    animation: fadeIn 0.3s ease;
    font-weight: 500;
}

.cic-error-message i {
    margin-right: 10px;
}