﻿/* Trigger Button */
.yas-cookie-trigger {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #1a1a1a;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yas-cookie-trigger:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.yas-cookie-trigger svg {
    width: 24px;
    height: 24px;
    /* fill removed to preserve stroke */
}

/* Popup Container */
.yas-cookie-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.05);
    z-index: 9999;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: 1px solid #f0f0f0;
}

.yas-hidden {
    display: none !important;
}

.yas-cookie-content {
    padding: 28px;
}

.yas-cookie-title {
    margin: 0 0 12px 0;
    font-size: 19px;
    font-weight: 600;
    color: #111111;
    letter-spacing: -0.3px;
}

.yas-cookie-desc {
    margin: 0 0 22px 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: #555555;
}
.yas-cookie-desc a {
    color: #111111;
    text-decoration: underline;
    font-weight: 500;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.yas-cookie-desc a:hover {
    color: #9d8e70;
}

/* Categories */
.yas-cookie-categories {
    margin-bottom: 24px;
    max-height: 250px;
    overflow-y: auto;
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
}
.yas-cookie-categories::-webkit-scrollbar {
    width: 6px;
}
.yas-cookie-categories::-webkit-scrollbar-track {
    background: #f8f8f8;
    border-radius: 3px;
}
.yas-cookie-categories::-webkit-scrollbar-thumb {
    background: #dddddd;
    border-radius: 3px;
}

.yas-category {
    margin-bottom: 18px;
}

.yas-cat-header {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}
.yas-cat-header input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #9d8e70;
}
.yas-cat-header strong {
    font-size: 14.5px;
    font-weight: 600;
    color: #222222;
    cursor: pointer;
}

.yas-cat-desc {
    margin: 0 0 0 30px;
    font-size: 13px;
    color: #777777;
    line-height: 1.5;
}

/* Buttons */
.yas-cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.yas-btn {
    flex: 1 1 calc(50% - 6px);
    padding: 12px 16px;
    border-radius: 3px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.yas-btn-primary {
    background-color: #9d8e70; /* Premium Gold/Taupe */
    color: #ffffff;
}
.yas-btn-primary:hover {
    background-color: #85775d;
}

.yas-btn-secondary {
    background-color: #ffffff;
    color: #111111;
    border: 1px solid #dddddd;
}
.yas-btn-secondary:hover {
    border-color: #111111;
    background-color: #fafafa;
}

.yas-btn-outline {
    flex: 1 1 100%;
    background-color: transparent;
    color: #666666;
    border: 1px solid #eaeaea;
    margin-top: 4px;
}
.yas-btn-outline:hover {
    background-color: #f8f8f8;
    color: #111111;
    border-color: #cccccc;
}

.yas-btn-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #aaaaaa;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.yas-btn-close:hover {
    color: #111111;
    transform: rotate(90deg);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .yas-cookie-popup {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        border: none;
    }
    .yas-btn {
        flex: 1 1 100%;
    }
    .yas-btn-outline {
        margin-top: 0;
    }
}
