.cookie-notice {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(26, 95, 180, 0.12);
    padding: 26px;
    display: none;
    animation: cookie-slide 0.5s ease forwards;
    border: 1px solid rgba(26, 95, 180, 0.1);
}

@keyframes cookie-slide {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-notice-inner {
    position: relative;
}

.cookie-notice-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cookie-notice-title {
    font-size: 19px;
    font-weight: 700;
    color: #1a3a5f;
}

.cookie-notice-title i{
    margin-right: 8px;
}

.cookie-notice-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f7fc;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a5fb4;
    cursor: pointer;
    transition: 0.2s;
}
.cookie-notice-close:hover {
    background: #1a5fb4;
    color: #fff;
}

.cookie-notice-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cookie-link {
    color: #1a5fb4;
    font-weight: 600;
    text-decoration: none;
}
.cookie-link:hover {
    text-decoration: underline;
}

.cookie-notice-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    flex: 1;
    min-width: 110px;
    padding: 12px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.25s;
    text-align: center;
}

.cookie-btn-primary {
    background: #1a5fb4;
    color: #fff;
}
.cookie-btn-primary:hover {
    background: #154a96;
}

.cookie-btn-outline {
    background: #f4f7fc;
    color: #333;
}
.cookie-btn-outline:hover {
    background: #e4ebf5;
}

.cookie-btn-secondary {
    background: transparent;
    color: #1a5fb4;
    border: 1px solid #1a5fb4;
}
.cookie-btn-secondary:hover {
    background: #f1f7ff;
}

/* Cookie 设置面板 */
.cookie-settings {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10000;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(26, 95, 180, 0.15);
    padding: 26px;
    display: none;
    animation: cookie-fade 0.4s ease forwards;
    border: 1px solid rgba(26, 95, 180, 0.12);
}

@keyframes cookie-fade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.cookie-settings-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.cookie-settings-title {
    font-size: 19px;
    font-weight: 700;
    color: #1a3a5f;
}

.cookie-settings-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f7fc;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a5fb4;
    cursor: pointer;
    transition: 0.2s;
}
.cookie-settings-close:hover {
    background: #1a5fb4;
    color: #fff;
}

.cookie-settings-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.cookie-options-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}
.cookie-option:hover {
    background: #f9fbfd;
}

.cookie-option input {
    margin-top: 5px;
    accent-color: #1a5fb4;
    width: 16px;
    height: 16px;
}

.cookie-option-text {
    flex: 1;
}

.cookie-option-label {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.cookie-option-tip {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.cookie-settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cookie-settings-cancel {
    padding: 11px 20px;
    border-radius: 10px;
    background: #f4f7fc;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.cookie-settings-cancel:hover {
    background: #e4ebf5;
}

.cookie-settings-save {
    padding: 11px 20px;
    border-radius: 10px;
    background: #1a5fb4;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.cookie-settings-save:hover {
    background: #154a96;
}