/* ===== VASTU DIRECTION TOOL - Tool Specific CSS ===== */

/* ---- Selector / Compass Box ---- */
.vt-selector-box {
    background: linear-gradient(135deg, #1a3a1a, #2d5a1b, #1e4620);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(29, 78, 29, 0.4);
    text-align: center;
}

.vt-selector-box h2 {
    color: #a8d5a2;
    font-size: 22px;
    margin-bottom: 8px;
}

.vt-hint {
    color: #6abf69;
    font-size: 14px;
    margin-bottom: 28px;
}

/* ---- Compass ---- */
.vt-compass {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    border: 2px solid rgba(168, 213, 162, 0.3);
}

.vt-compass-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Direction Buttons */
.vt-dir-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(168, 213, 162, 0.4);
    border-radius: 10px;
    padding: 8px 12px;
    color: #c8e6c9;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    line-height: 1.3;
    transition: all 0.25s;
    backdrop-filter: blur(4px);
    min-width: 70px;
}

.vt-dir-btn:hover {
    background: rgba(168, 213, 162, 0.25);
    border-color: #a8d5a2;
    color: #fff;
    transform: scale(1.08);
}

.vt-dir-btn.active {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    border-color: #81c784;
    color: #fff;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.45);
    transform: scale(1.1);
}

.vt-dir-btn small {
    font-size: 11px;
    opacity: 0.8;
    display: block;
}

.vt-diag {
    font-size: 12px;
    padding: 6px 10px;
    min-width: 62px;
}

.vt-compass-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    pointer-events: none;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

/* ---- Result ---- */
.vt-result {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    box-shadow: 0 6px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* Result Header */
.vt-res-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 30px;
    background: linear-gradient(135deg, #1a3a1a, #2d5a1b);
    color: #fff;
}

.vt-res-emoji {
    font-size: 52px;
    flex-shrink: 0;
}

.vt-res-dir {
    font-size: 26px;
    font-weight: 800;
    color: #a8d5a2;
    margin-bottom: 4px;
}

.vt-res-devata {
    font-size: 14px;
    color: #81c784;
    margin-bottom: 4px;
}

.vt-res-rating {
    font-size: 13px;
    color: #c8e6c9;
}

/* Score bar */
.vt-score-section {
    padding: 18px 28px;
    border-bottom: 2px solid #f3f4f6;
}

.vt-score-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.vt-score-row:last-child { margin-bottom: 0; }

.vt-score-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    width: 110px;
    flex-shrink: 0;
}

.vt-score-track {
    flex: 1;
    height: 10px;
    background: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
}

.vt-score-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #4caf50, #2e7d32);
    transition: width 0.8s ease;
}

.vt-score-val {
    font-size: 12px;
    color: #6b7280;
    width: 50px;
    flex-shrink: 0;
    text-align: right;
}

/* Rooms Grid */
.vt-rooms-section {
    padding: 22px 28px;
    border-bottom: 2px solid #f3f4f6;
}

.vt-sec-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.vt-rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.vt-room-card {
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px;
}

.vt-room-icon { font-size: 22px; margin-bottom: 6px; display: block; }
.vt-room-name { font-size: 13px; font-weight: 700; color: #166534; margin-bottom: 4px; }
.vt-room-place { font-size: 12px; color: #374151; line-height: 1.5; }

/* Colors & Plants */
.vt-colors-section {
    display: flex;
    gap: 12px;
    padding: 18px 28px;
    flex-wrap: wrap;
    border-bottom: 2px solid #f3f4f6;
    background: #fafafa;
}

.vt-color-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 13px;
    color: #374151;
    font-weight: 600;
}

.vt-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Plants */
.vt-plants-section {
    padding: 18px 28px;
    border-bottom: 2px solid #f3f4f6;
}

.vt-plants-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.vt-plant-tag {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    color: #166534;
    font-weight: 500;
}

/* Do's & Don'ts */
.vt-dos-donts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 2px solid #f3f4f6;
}

.vt-dos {
    padding: 20px 24px;
    background: #f0fdf4;
    border-right: 1px solid #e5e7eb;
}

.vt-donts {
    padding: 20px 24px;
    background: #fff5f5;
}

.vt-dos h5, .vt-donts h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.vt-dos h5 { color: #166534; }
.vt-donts h5 { color: #991b1b; }

.vt-dos ul, .vt-donts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vt-dos li, .vt-donts li {
    font-size: 13px;
    color: #374151;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.vt-dos li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.vt-donts li::before { content: '✗'; position: absolute; left: 0; color: #dc2626; font-weight: 700; }

/* Remedy */
.vt-remedy-box {
    background: linear-gradient(135deg, #fffbf0, #fef3c7);
    padding: 18px 28px;
    border-top: 2px solid #fde68a;
}

.vt-remedy-title {
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
}

.vt-remedy-text {
    font-size: 14px;
    color: #78350f;
    line-height: 1.7;
}

/* ---- Info / Features shared ---- */
.info-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}

.info-box h4 {
    color: #14532d;
    font-size: 20px;
    margin-bottom: 18px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.info-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}

.info-item strong {
    display: block;
    color: #15803d;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.features-box {
    background: linear-gradient(135deg, #fffbf0, #fef3c7);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}

.features-box h4 {
    color: #92400e;
    font-size: 20px;
    margin-bottom: 16px;
}

.features-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.features-box ul li {
    font-size: 14px;
    color: #374151;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.features-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d97706;
    font-weight: 700;
}

.features-box ul li strong { color: #92400e; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .vt-compass {
        width: 290px;
        height: 290px;
    }
    .vt-rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vt-dos-donts {
        grid-template-columns: 1fr;
    }
    .vt-donts { border-top: 1px solid #e5e7eb; }
    .vt-res-header {
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
    }
    .vt-res-emoji { font-size: 40px; }
    .vt-rooms-section,
    .vt-score-section,
    .vt-plants-section {
        padding: 16px 18px;
    }
    .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .vt-selector-box {
        padding: 22px 14px;
    }
    .vt-compass {
        width: 260px;
        height: 260px;
    }
    .vt-dir-btn {
        font-size: 11px;
        padding: 6px 8px;
        min-width: 56px;
    }
    .vt-rooms-grid {
        grid-template-columns: 1fr;
    }
}