/* BMI Calculator Container */
.toolzoo-bmi-container {
    max-width: 600px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.toolzoo-bmi-header h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #333;
    font-weight: 600;
}

/* Input Group */
.toolzoo-bmi-input-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.toolzoo-bmi-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolzoo-bmi-input-label {
    min-width: 60px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.toolzoo-bmi-input-field {
    width: 100px;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.toolzoo-bmi-input-field:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

.toolzoo-bmi-input-unit {
    font-size: 14px;
    color: #666;
    min-width: 30px;
    font-weight: 500;
}

/* Button */
.toolzoo-bmi-button {
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: #0066cc;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    align-self: flex-start;
}

.toolzoo-bmi-button:hover {
    background: #0052a3;
}

.toolzoo-bmi-button:active {
    background: #003d7a;
}

.toolzoo-bmi-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Error Message */
.toolzoo-bmi-error {
    display: none;
    margin-bottom: 15px;
    padding: 12px;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
    border-radius: 4px;
    font-size: 14px;
}

/* Results Container */
.toolzoo-bmi-results-container {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: white;
    border: 2px solid #0066cc;
    border-radius: 8px;
}

.toolzoo-bmi-result-item {
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.6;
}

.toolzoo-bmi-result-item strong {
    min-width: 100px;
    display: inline-block;
    color: #333;
    font-weight: 600;
}

.toolzoo-bmi-value {
    font-size: 28px;
    font-weight: 700;
    color: #0066cc;
    font-family: 'Arial', sans-serif;
}

.toolzoo-bmi-category {
    font-size: 16px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    min-width: 100px;
    text-align: center;
}

.toolzoo-bmi-category.underweight {
    background: rgba(0, 102, 204, 0.15);
    color: #0066cc;
    border: 1px solid #0066cc;
}

.toolzoo-bmi-category.normal {
    background: rgba(0, 170, 0, 0.15);
    color: #00aa00;
    border: 1px solid #00aa00;
}

.toolzoo-bmi-category.overweight {
    background: rgba(255, 170, 0, 0.15);
    color: #ff8800;
    border: 1px solid #ff8800;
}

.toolzoo-bmi-category.obese {
    background: rgba(221, 0, 0, 0.15);
    color: #dd0000;
    border: 1px solid #dd0000;
}

.toolzoo-bmi-ideal-weight {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Info Section */
.toolzoo-bmi-info-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}

.toolzoo-bmi-info-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.toolzoo-bmi-info-section h5 {
    margin: 15px 0 8px 0;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.toolzoo-bmi-info-section p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.toolzoo-bmi-info-table {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
    font-size: 14px;
}

.toolzoo-bmi-info-table th,
.toolzoo-bmi-info-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.toolzoo-bmi-info-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.toolzoo-bmi-info-table td {
    color: #666;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    .toolzoo-bmi-container {
        padding: 15px;
        margin: 15px 0;
    }

    .toolzoo-bmi-header h3 {
        font-size: 20px;
    }

    .toolzoo-bmi-input-wrapper {
        flex-wrap: wrap;
    }

    .toolzoo-bmi-input-label {
        min-width: 100%;
        margin-bottom: 5px;
    }

    .toolzoo-bmi-input-field {
        flex: 1;
        min-width: 80px;
    }

    .toolzoo-bmi-button {
        width: 100%;
        align-self: stretch;
    }

    .toolzoo-bmi-result-item {
        flex-direction: column;
    }

    .toolzoo-bmi-result-item strong {
        display: block;
        margin-bottom: 5px;
        min-width: auto;
    }

    .toolzoo-bmi-info-table {
        font-size: 13px;
    }

    .toolzoo-bmi-info-table th,
    .toolzoo-bmi-info-table td {
        padding: 8px 10px;
    }
}

@media screen and (max-width: 480px) {
    .toolzoo-bmi-container {
        padding: 12px;
    }

    .toolzoo-bmi-header h3 {
        font-size: 18px;
    }

    .toolzoo-bmi-input-field {
        width: 90px;
    }

    .toolzoo-bmi-value {
        font-size: 24px;
    }

    .toolzoo-bmi-category {
        font-size: 14px;
        padding: 5px 10px;
    }

    .toolzoo-bmi-info-section {
        margin-top: 20px;
    }

    .toolzoo-bmi-info-section h4 {
        font-size: 16px;
    }

    .toolzoo-bmi-info-section h5 {
        font-size: 13px;
        margin: 12px 0 6px 0;
    }

    .toolzoo-bmi-info-section p {
        font-size: 13px;
    }
}
