/* ========================================
   DEVELOPMENT NOTICE BANNER
   Bigor Studio Theme
   Стиль как у Cookie Consent (пилюля)
   ======================================== */

/* === BANNER CONTAINER === */
.dev-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px 12px 14px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: devNoticeSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: background 0.4s ease, 
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

/* Light Theme */
[data-theme="light"] .dev-notice {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Slide In Animation */
@keyframes devNoticeSlideIn {
    from { 
        opacity: 0; 
        transform: translateX(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* Slide Out Animation */
.dev-notice.hiding {
    animation: devNoticeSlideOut 0.3s ease forwards;
}

@keyframes devNoticeSlideOut {
    from { 
        opacity: 1; 
        transform: translateX(0); 
    }
    to { 
        opacity: 0; 
        transform: translateX(20px); 
    }
}

/* === CLOSE BUTTON === */
.dev-notice__close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.dev-notice__close:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.8);
}

[data-theme="light"] .dev-notice__close {
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.4);
}

[data-theme="light"] .dev-notice__close:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.8);
}

/* === ICON === */
.dev-notice__icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500, #3b82f6), var(--primary-700, #1d4ed8));
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.dev-notice__icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

/* === TEXT === */
.dev-notice__text {
    font-size: 13px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.4s ease;
}

.dev-notice__text strong {
    color: #fff;
    font-weight: 600;
}

[data-theme="light"] .dev-notice__text {
    color: rgba(15, 23, 42, 0.7);
}

[data-theme="light"] .dev-notice__text strong {
    color: #0f172a;
}

/* === LANGUAGE SUPPORT === */
.dev-notice .lang-content {
    display: none;
}

.dev-notice .lang-content.active {
    display: block;
}

/* Chinese font */
[data-lang="zh"] .dev-notice__text {
    font-family: var(--font-chinese, 'Noto Sans SC', sans-serif);
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
    .dev-notice {
        right: 12px;
        bottom: 12px;
        left: 12px;
        gap: 10px;
        padding: 10px 12px 10px 10px;
        border-radius: 50px;
    }
    
    .dev-notice__icon {
        width: 32px;
        height: 32px;
    }
    
    .dev-notice__icon svg {
        width: 16px;
        height: 16px;
    }
    
    .dev-notice__text {
        font-size: 12px;
        flex: 1;
    }
    
    .dev-notice__close {
        width: 28px;
        height: 28px;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .dev-notice {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }
}
