/* ===========================
   YM Cookie Consent — styles
   =========================== */

#ymcc-banner {
    position: fixed;
    z-index: 999999;
    left: 0;
    right: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

/* Position variants */
.ymcc-pos-bottom {
    bottom: 0;
    left: 0;
    right: 0;
}
.ymcc-pos-bottom-left {
    bottom: 20px;
    left: 20px;
    right: auto;
    max-width: 420px;
    border-radius: 12px;
}
.ymcc-pos-bottom-right {
    bottom: 20px;
    right: 20px;
    left: auto;
    max-width: 420px;
    border-radius: 12px;
}

.ymcc-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: #1a1c23;
    color: #e8eaf0;
    box-shadow: 0 -4px 24px rgba(0,0,0,.25);
    flex-wrap: wrap;
}

.ymcc-pos-bottom-left .ymcc-inner,
.ymcc-pos-bottom-right .ymcc-inner {
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.ymcc-icon {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.ymcc-text {
    flex: 1;
    min-width: 200px;
    color: #c8cdd8;
}

.ymcc-text a {
    color: #7eb3ff;
    text-decoration: underline;
}
.ymcc-text a:hover {
    color: #aaccff;
}

.ymcc-cookie-link {
    margin-left: 4px;
}

.ymcc-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.ymcc-btn {
    padding: 9px 22px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
    white-space: nowrap;
    line-height: 1.2;
}

.ymcc-btn:hover {
    opacity: .85;
    transform: translateY(-1px);
}
.ymcc-btn:active {
    transform: translateY(0);
}

.ymcc-btn-accept {
    color: #fff;
    /* background set inline via PHP */
}

.ymcc-btn-decline {
    background: transparent;
    color: #8a91a0;
    border: 1px solid #3a3f50;
}
.ymcc-btn-decline:hover {
    background: rgba(255,255,255,.05);
    opacity: 1;
}

/* Animation */
@keyframes ymcc-slide-up {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes ymcc-fade-in {
    from { opacity: 0; transform: scale(.97); }
    to   { opacity: 1; transform: scale(1); }
}

.ymcc-pos-bottom.ymcc-visible .ymcc-inner {
    animation: ymcc-slide-up .35s cubic-bezier(.22,.68,0,1.2) both;
}

.ymcc-pos-bottom-left.ymcc-visible,
.ymcc-pos-bottom-right.ymcc-visible {
    animation: ymcc-fade-in .3s ease both;
}

/* Hide */
.ymcc-hiding {
    animation: ymcc-slide-down .25s ease forwards;
}
@keyframes ymcc-slide-down {
    to { transform: translateY(60px); opacity: 0; }
}

/* Responsive */
@media (max-width: 600px) {
    .ymcc-inner {
        padding: 14px 16px;
    }
    .ymcc-pos-bottom-left,
    .ymcc-pos-bottom-right {
        left: 10px;
        right: 10px;
        max-width: none;
        bottom: 10px;
    }
    .ymcc-actions {
        width: 100%;
    }
    .ymcc-btn {
        flex: 1;
        text-align: center;
    }
}
