body {
    font-family: 'Inter', sans-serif;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#status-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

#status-message.success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

#status-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    width: min(92vw, 420px);
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner--hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.cookie-banner__card {
    background: #f8fafc;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    padding: 16px;
    border: 1px solid rgba(51, 65, 85, 0.2);
}

.cookie-banner__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cookie-banner__text {
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 12px;
}

.cookie-banner__link {
    color: #06b6d4;
    font-weight: 600;
}

.cookie-banner__actions {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.cookie-button {
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-button:focus-visible {
    outline: 2px solid rgba(6, 182, 212, 0.5);
    outline-offset: 2px;
}

.cookie-button--primary {
    background: #1e293b;
    color: #f8fafc;
    box-shadow: 0 12px 20px rgba(6, 182, 212, 0.3);
}

.cookie-button--secondary {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid rgba(51, 65, 85, 0.2);
}

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

.cookie-banner__panel {
    display: grid;
    gap: 10px;
    padding-top: 4px;
}

.cookie-option {
    background: #f8fafc;
    border-radius: 16px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.cookie-option__copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cookie-option__title {
    font-weight: 600;
}

.cookie-option__description {
    font-size: 12px;
    color: #334155;
}

.cookie-option__status {
    font-size: 12px;
    font-weight: 600;
    color: #06b6d4;
    white-space: nowrap;
}

.cookie-toggle {
    position: relative;
    width: 46px;
    height: 26px;
    display: inline-flex;
    align-items: center;
}

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

.cookie-toggle__slider {
    position: absolute;
    inset: 0;
    background: #334155;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.cookie-toggle__slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.15);
    transition: transform 0.2s ease;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background: #06b6d4;
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
    transform: translateX(20px);
}

.cookie-banner__save {
    width: 100%;
    margin-top: 4px;
}

.cookie-banner--expanded .cookie-banner__actions {
    display: none;
}

.cookie-footer-button {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(51, 65, 85, 0.4);
    background: transparent;
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cookie-footer-button:hover {
    color: #f8fafc;
    border-color: rgba(6, 182, 212, 0.6);
    background: rgba(6, 182, 212, 0.12);
}

.cookie-footer-button:focus-visible {
    outline: 2px solid rgba(6, 182, 212, 0.6);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .cookie-banner {
        right: 16px;
        left: 16px;
        width: auto;
    }

    .cookie-banner__actions {
        flex-direction: column;
    }
}