/* Box Breathing Custom Styles */
.tool-wrapper {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px;
    margin-bottom: 40px;
}

.tool-header {
    text-align: center;
    margin-bottom: 40px;
}
.tool-header h1 {
    margin-top: 0;
}

/* Interactive Container */
.interactive-container {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    border-radius: 16px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
}

.settings-panel {
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: 500;
}
.settings-panel select {
    padding: 8px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-left: 10px;
    outline: none;
    font-family: inherit;
    cursor: pointer;
}

/* Visualizer */
.visualizer-wrapper {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.breathing-box {
    width: 150px;
    height: 150px;
    background: rgba(109, 171, 39, 0.15);
    border: 3px solid rgba(109, 171, 39, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(109, 171, 39, 0.2);
    transition: transform 0.1s linear, background-color 1s ease, border-color 1s ease;
    will-change: transform;
}

.instruction-text {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    transition: color 1s ease;
}

.timer-text {
    font-size: 36px;
    font-weight: 300;
    color: #6DAB27;
    transition: color 1s ease;
}

/* Session Progress */
.session-progress-container {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.session-progress-bar {
    height: 100%;
    width: 0%;
    background-color: #6DAB27;
    transition: width 0.1s linear;
}

.session-time {
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
    font-variant-numeric: tabular-nums;
}

/* Controls */
.controls-panel {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

button {
    padding: 12px 30px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.primary-btn {
    background-color: #6DAB27;
    color: white;
    box-shadow: 0 4px 15px rgba(109, 171, 39, 0.3);
}

.primary-btn:hover {
    background-color: #588e1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 171, 39, 0.4);
}

.secondary-btn {
    background-color: #f44336;
    color: white;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.secondary-btn:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.audio-panel {
    font-size: 14px;
    color: #555;
}
.audio-panel input {
    margin-right: 5px;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

/* AdSense Container */
.adsense-container {
    margin: 40px 0;
    min-height: 90px; /* Standard ad height */
    background-color: #f9f9f9;
    border: 1px dashed #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #aaa;
    font-size: 12px;
}

/* SEO Content */
.benefits-content {
    margin-top: 50px;
    line-height: 1.8;
}

.benefits-content h2 {
    border-bottom: 2px solid #6DAB27;
    padding-bottom: 10px;
    display: inline-block;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #eef0f2;
}

.step-num {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: #6DAB27;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(109, 171, 39, 0.3);
}

.step-card h4 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #21a606;
}

.step-card p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.benefits-list {
    list-style-type: none;
    padding-left: 0;
}

.benefits-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6DAB27;
    font-weight: bold;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 600px) {
    .visualizer-wrapper {
        width: 250px;
        height: 250px;
    }
    .breathing-box {
        width: 120px;
        height: 120px;
    }
    .instruction-text {
        font-size: 20px;
    }
    .timer-text {
        font-size: 30px;
    }
    .tool-wrapper {
        padding: 20px;
    }
}
