/* Cookie Consent Banner Styles */

.cookie-consent-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    animation-name: cookieConsentShow;
    animation-duration: 0.5s;
    animation-timing-function: ease;
}

.cookie-consent-popup.open {
    display: block;
}

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

.cookie-consent-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-consent-message {
    margin: 0;
    flex: 1 1 300px;
}

.cookie-consent-text {
    margin-right: 5px;
}

.cookie-consent-link {
    color: #4fc3f7;
    text-decoration: underline;
}

.cookie-consent-link:hover {
    color: #81d4fa;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    display: inline-block;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.cookie-consent-btn:hover {
    transform: translateY(-1px);
}

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

.cookie-consent-accept-all {
    background: #4caf50;
    color: #fff;
}

.cookie-consent-accept-all:hover {
    background: #43a047;
}

.cookie-consent-controls-toggle,
.cookie-consent-save {
    background: #616161;
    color: #fff;
}

.cookie-consent-controls-toggle:hover,
.cookie-consent-save:hover {
    background: #757575;
}

.cookie-consent-deny-all {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cookie-consent-deny-all:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Controls panel */
.cookie-consent-controls {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.cookie-consent-controls.open {
    max-height: 400px;
    padding-top: 15px;
}

.cookie-consent-controls-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent-control {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.cookie-consent-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4caf50;
}

.cookie-consent-label {
    font-size: 14px;
}

/* Details panel */
.cookie-consent-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.cookie-consent-details.open {
    max-height: 600px;
    padding-top: 15px;
}

.cookie-consent-details-inner {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent-detail-group {
    margin-bottom: 15px;
}

.cookie-consent-table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 13px;
}

.cookie-consent-table td {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-consent-table td:first-child {
    width: 30%;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile */
@media (max-width: 767px) {
    .cookie-consent-wrapper {
        padding: 15px;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent-message {
        flex: 1 1 auto;
    }

    .cookie-consent-buttons {
        width: 100%;
    }

    .cookie-consent-btn {
        flex: 1;
        text-align: center;
    }

    .cookie-consent-controls-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
