/* wellness-tools.css - Additional styles for wellness tools */

/* Tool tabs container */
.tool-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    background: white;
    border: 2px solid #e1e5eb;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.tab-btn i {
    margin-right: 8px;
}

.tab-btn:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

/* Tool content */
.tool-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tool-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input styling */
input[type="number"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

input[type="range"] {
    width: 70%;
    margin-right: 10px;
    vertical-align: middle;
}

/* Progress bar */
.progress-bar {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        flex: 1;
        text-align: center;
    }
    
    input[type="range"] {
        width: 60%;
    }
}

/* Print styles */
@media print {
    .tool-tabs,
    .button-group,
    .action-buttons {
        display: none;
    }
    
    .tool-content {
        display: block !important;
    }
    
    .result-box {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}