/* Main Container */
.whip-calculator-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

/* Header */
.whip-calculator-header {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
}

.whip-calculator-header h2 {
    color: #e74c3c;
    margin-bottom: 5px;
}

.whip-calculator-header p {
    color: #7f8c8d;
    font-size: 14px;
}

/* Form Styles */
.whip-calculator-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #34495e;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #3498db;
    outline: none;
}

/* Buttons */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 8px;
}

.calculate-btn {
    background-color: #3498db;
    color: white;
}

.calculate-btn:hover {
    background-color: #2980b9;
}

.reset-btn {
    background-color: #95a5a6;
    color: white;
}

.reset-btn:hover {
    background-color: #7f8c8d;
}

.copy-btn {
    background-color: #2ecc71;
    color: white;
    margin-top: 10px;
}

.copy-btn:hover {
    background-color: #27ae60;
}

/* Result Container */
.whip-result-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.result-box {
    text-align: center;
    margin-bottom: 20px;
}

.result-box p {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

#whip-result {
    color: #e74c3c;
    font-size: 24px;
}

/* Rating Styles */
.whip-rating {
    margin-top: 15px;
}

.whip-rating p {
    margin-bottom: 5px;
    font-weight: 600;
    color: #34495e;
}

.rating-bar {
    width: 100%;
    height: 20px;
    background-color: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    width: 0%;
    transition: width 0.5s, background-color 0.5s;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .whip-calculator-container {
        padding: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}