/* Byty Slatina Cookie Consent Styles */
.bs-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
    font-family: "Montserrat", sans-serif;
    animation: bsCookieSlideUp 0.4s ease-out;
}

@keyframes bsCookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bs-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

@media (max-width: 968px) {
    .bs-cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }
}

.bs-cookie-text h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #32280a;
    margin: 0 0 10px 0;
}

.bs-cookie-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.bs-cookie-links {
    margin-top: 8px !important;
}

.bs-cookie-links a {
    color: #32280a;
    text-decoration: underline;
    font-size: 13px;
    transition: color 0.3s ease;
}

.bs-cookie-links a:hover {
    color: #6d5a44;
}

.bs-cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 968px) {
    .bs-cookie-actions {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bs-cookie-actions {
        gap: 10px;
    }
}

.bs-cookie-btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.bs-cookie-accept-all {
    background-color: #32280a;
    color: #fff;
}

.bs-cookie-accept-all:hover {
    background-color: #4a3c15;
}

.bs-cookie-btn-secondary {
    background-color: #ede4c0;
    color: #32280a;
}

.bs-cookie-btn-secondary:hover {
    background-color: #e0d4a8;
}

.bs-cookie-btn-outline {
    background-color: transparent;
    color: #32280a;
    border: 1px solid #32280a;
}

.bs-cookie-btn-outline:hover {
    background-color: #f5f3ed;
}

/* Button click feedback */
.bs-cookie-btn-clicked {
    transform: scale(0.95);
    opacity: 0.8;
    pointer-events: none;
}

.bs-cookie-btn:active {
    transform: scale(0.97);
}

/* Settings Panel */
.bs-cookie-settings {
    background: #f5f3ed;
    border-top: 1px solid #ede4c0;
    animation: bsCookieExpand 0.3s ease-out;
}

@keyframes bsCookieExpand {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.bs-cookie-settings-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 30px;
}

@media (max-width: 968px) {
    .bs-cookie-settings-content {
        padding: 20px;
    }
}

.bs-cookie-settings h4 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #32280a;
    margin: 0 0 20px 0;
}

.bs-cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ede4c0;
}

.bs-cookie-category:last-of-type {
    border-bottom: none;
}

.bs-cookie-category-info {
    flex: 1;
}

.bs-cookie-category-info strong {
    font-size: 14px;
    color: #32280a;
}

.bs-cookie-category-info p {
    font-size: 13px;
    color: #666;
    margin: 5px 0 0 0;
    line-height: 1.5;
}

.bs-cookie-required {
    font-size: 11px;
    color: #999;
    font-weight: 400;
    margin-left: 5px;
}

/* Toggle Switch */
.bs-cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.bs-cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.bs-cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.bs-cookie-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 50%;
}

.bs-cookie-switch input:checked + .bs-cookie-slider {
    background-color: #32280a;
}

.bs-cookie-switch input:disabled + .bs-cookie-slider {
    background-color: #32280a;
    opacity: 0.7;
    cursor: not-allowed;
}

.bs-cookie-switch input:checked + .bs-cookie-slider:before {
    transform: translateX(22px);
}

.bs-cookie-settings-actions {
    margin-top: 20px;
    text-align: center;
}

/* Hidden state */
.bs-cookie-banner.bs-cookie-hidden {
    animation: bsCookieSlideDown 0.4s ease-out forwards;
}

@keyframes bsCookieSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}
