/* 152-FZ Compliance Styles */

/* Consent Checkbox */
.pdn-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary, #94a3b8);
    cursor: pointer;
    margin: 0.75rem 0;
    line-height: 1.5;
}

.pdn-consent-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary, #ff3cac);
    flex-shrink: 0;
}

.pdn-consent-label a {
    color: var(--primary-light, #ff6bc4);
    text-decoration: underline;
}

.pdn-consent-label a:hover {
    color: var(--primary, #ff3cac);
}

/* ==================== Cookie Banner — EasyIPA Style ==================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-top: 1px solid rgba(255, 60, 172, 0.15);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5), 0 -2px 20px rgba(255, 60, 172, 0.08);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    overflow: hidden;
}

.cookie-banner--visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner--hiding {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.5, 0, 0.75, 0), opacity 0.3s ease;
}

/* Glow effect */
.cookie-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(255, 60, 172, 0.12) 0%, rgba(120, 75, 168, 0.06) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Content area */
.cookie-content {
    flex: 1;
    padding: 1.25rem 1.5rem;
    position: relative;
    z-index: 1;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.cookie-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.cookie-icon {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(255, 60, 172, 0.3));
}

.cookie-icon-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 60, 172, 0.15);
    animation: cookiePulse 2s ease-in-out infinite;
}

@keyframes cookiePulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
}

.cookie-title-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cookie-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary, #f5f5f7);
    margin: 0;
    background: linear-gradient(135deg, #ff3cac, #ff6bc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cookie-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full, 9999px);
    background: rgba(255, 60, 172, 0.12);
    border: 1px solid rgba(255, 60, 172, 0.2);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-light, #ff6bc4);
    letter-spacing: 0.03em;
}

.cookie-desc {
    font-size: 0.85rem;
    color: var(--text-secondary, #8a8a9a);
    line-height: 1.6;
    margin: 0 0 0.6rem 0;
}

.cookie-desc strong {
    color: var(--text-primary, #f5f5f7);
    font-weight: 600;
}

/* Details list */
.cookie-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-bottom: 0.5rem;
}

.cookie-detail-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted, #55556a);
}

.cookie-detail-icon {
    font-size: 0.85rem;
}

.cookie-more {
    font-size: 0.78rem;
    color: var(--text-muted, #55556a);
    margin: 0;
}

.cookie-more a {
    color: var(--primary-light, #ff6bc4);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 107, 196, 0.3);
    transition: var(--transition-fast, all 0.2s ease);
}

.cookie-more a:hover {
    color: var(--primary, #ff3cac);
    border-bottom-color: var(--primary, #ff3cac);
}

/* Actions area */
.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
    justify-content: center;
    min-width: 200px;
}

.cookie-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-md, 16px);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.cookie-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cookie-btn:hover::before {
    opacity: 1;
}

.cookie-btn-icon {
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.cookie-btn-text {
    position: relative;
    z-index: 1;
}

/* Accept button — gradient */
.cookie-btn-accept {
    background: linear-gradient(135deg, #ff3cac 0%, #784ba8 50%, #2b86c5 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 60, 172, 0.25);
}

.cookie-btn-accept::before {
    background: linear-gradient(135deg, #ff6bc4 0%, #9b6dce 50%, #4ba8e5 100%);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 60, 172, 0.35);
}

.cookie-btn-accept:active {
    transform: translateY(0);
}

/* Settings/Decline button */
.cookie-btn-settings {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary, #8a8a9a);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-btn-settings::before {
    background: rgba(255, 255, 255, 0.06);
}

.cookie-btn-settings:hover {
    color: var(--text-primary, #f5f5f7);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.cookie-btn-settings:active {
    transform: translateY(0);
}

/* ==================== Mobile ==================== */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
    }
    
    .cookie-content {
        padding: 1rem 1.25rem 0.75rem;
    }
    
    .cookie-details {
        flex-direction: column;
        gap: 0.35rem;
    }
    
    .cookie-actions {
        flex-direction: row;
        padding: 0.75rem 1.25rem 1rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        min-width: unset;
    }
    
    .cookie-btn {
        flex: 1;
        padding: 0.65rem 1rem;
    }
}

@media (max-width: 480px) {
    .cookie-header {
        gap: 0.5rem;
    }
    
    .cookie-icon-wrap {
        width: 32px;
        height: 32px;
    }
    
    .cookie-icon {
        font-size: 1.25rem;
    }
    
    .cookie-title {
        font-size: 0.9rem;
    }
    
    .cookie-btn {
        font-size: 0.8rem;
        padding: 0.6rem 0.75rem;
    }
    
    .cookie-btn-icon {
        font-size: 0.9rem;
    }
}
