/* Main Container */
.ipc-calculator-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Card Styling */
.ipc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    transition: all 0.3s ease;
}

/* Header */
.ipc-header {
    text-align: center;
    margin-bottom: 40px;
}

.ipc-header h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.ipc-header p {
    color: #7f8c8d;
    font-size: 16px;
    margin: 0;
}

/* Form Groups */
.ipc-form-group {
    margin-bottom: 30px;
}

.ipc-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 16px;
}

.ipc-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%232c3e50" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.ipc-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.ipc-select:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Price Display */
.ipc-price-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
    color: white;
}

.ipc-price-label {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.ipc-price-amount {
    font-size: 48px;
    font-weight: 700;
    margin: 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ipc-price-note {
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.9;
    font-style: italic;
}

/* Button */
.ipc-actions {
    text-align: center;
}

.ipc-button {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ipc-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
    color: white;
}

.ipc-button:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ipc-card {
        padding: 25px;
    }
    
    .ipc-header h2 {
        font-size: 24px;
    }
    
    .ipc-price-amount {
        font-size: 36px;
    }
    
    .ipc-button {
        padding: 16px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ipc-calculator-container {
        padding: 15px;
    }
    
    .ipc-card {
        padding: 20px;
    }
    
    .ipc-header h2 {
        font-size: 22px;
    }
    
    .ipc-header p {
        font-size: 14px;
    }
    
    .ipc-form-group label {
        font-size: 15px;
    }
    
    .ipc-select {
        padding: 12px;
        font-size: 15px;
    }
    
    .ipc-price-display {
        padding: 20px;
        margin: 30px 0;
    }
    
    .ipc-price-amount {
        font-size: 32px;
    }
    
    .ipc-button {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
    }
}

/* Tablet Specific */
@media (min-width: 481px) and (max-width: 1024px) {
    .ipc-calculator-container {
        max-width: 90%;
    }
    
    .ipc-price-amount {
        font-size: 40px;
    }
}

/* Loading State */
.ipc-price-loading {
    opacity: 0.7;
}

/* Error State */
.ipc-select.error {
    border-color: #e74c3c;
}

/* Success State */
.ipc-price-display.success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}