/* ===== Yii2 CSS logo ===== */
.yii-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 8px;
    position: relative;
    display: inline-block;
    transform: translateZ(0);
}

/* arms (angled parts) */
.yii-arm {
    position: absolute;
    top: 10px;
    width: 34px;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #ff7a18 0%, #ff4d00 100%);
    opacity: 0.98;
    box-shadow: 0 2px 6px rgba(255, 77, 0, 0.12);
    z-index: 1;
}

/* left arm rotated up-left */
.yii-arm-left {
    left: 4px;
    transform-origin: left center;
    transform: rotate(-38deg);
}

/* right arm rotated up-right */
.yii-arm-right {
    right: 4px;
    transform-origin: right center;
    transform: rotate(38deg);
}

/* vertical stem (on top to overlap arms) */
.yii-stem {
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 12px;
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffb366 0%, #ff7a18 60%, #ff4d00 100%);
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.12);
    z-index: 2;
}

/* Optional small polish for high-DPI */
@media (min-resolution: 2dppx) {
    .yii-icon {
        transform: scale(1.02);
    }
}

/* Section Base */
.whyme-section {
    padding: 60px 20px;
    background: #fff;
    color: #333;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
    text-align: left;
}

.whyme-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.whyme-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* Charts Layout */
.charts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.chart-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.95);
    animation: fadeIn 1s forwards;
}

.chart-label {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    color: #000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Desktop Layout */
@media (min-width: 768px) {
    .whyme-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .whyme-text {
        flex: 1;
        padding-right: 30px;
    }

    .charts-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
}

main {
    padding-top: 45px;
}
/** duble style**/
.theme-switcher {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

.theme-title h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.theme-title small {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.theme-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.theme-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-circle:hover {
    transform: scale(1.15);
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}
