/* diet-beauty-calculator/css/style.css */

.diet-calculator-wrapper {
    max-width: 600px;
    margin: 30px auto;
    padding: 0 15px;
}

.diet-calculator-container {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8f0 100%);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.15);
    border: 2px solid rgba(255, 182, 193, 0.3);
}

.calculator-title {
    text-align: center;
    color: #ff69b4;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255, 105, 180, 0.1);
}

.title-icon {
    font-size: 20px;
    margin: 0 8px;
}

.calculator-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #d147a3;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.label-icon {
    margin-right: 6px;
    font-size: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ffb6c1;
    border-radius: 15px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.calculate-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 16px;
    margin: 0 8px;
}

.results-container {
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

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

.results-title {
    text-align: center;
    color: #ff69b4;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: bold;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.result-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.1);
    border: 2px solid rgba(255, 182, 193, 0.3);
    transition: transform 0.3s ease;
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 105, 180, 0.2);
}

.result-label {
    color: #d147a3;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.result-value {
    color: #ff1493;
    font-size: 28px;
    font-weight: bold;
    margin: 8px 0;
}

.result-status {
    color: #ff69b4;
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
}

.result-note {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .diet-calculator-container {
        padding: 25px 20px;
    }
    
    .calculator-title {
        font-size: 20px;
    }
    
    .result-grid {
        grid-template-columns: 1fr;
    }
}
