@charset "utf-8";
/* CSS Document */

#cookie-consent-banner {
            position: fixed;
            bottom: 0px;
            left: 20px;
            right: 20px;
            max-width: 600px;
            margin: 0 auto;
            background: #ffffff;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            padding: 20px;
            z-index: 10000;
            transform: translateY(100%);
            transition: transform 0.5s ease-in-out;
        }

        #cookie-consent-banner.visible {
            transform: translateY(0);
        }

        .cookie-content {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .cookie-message {
            font-size: 14px;
            line-height: 1.5;
            color: #333;
        }

        .cookie-message a {
            color: #007bff;
            text-decoration: none;
            font-weight: 500;
        }

        .cookie-message a:hover {
            text-decoration: underline;
        }

        .cookie-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .cookie-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            min-height: 40px;
        }

        .btn-accept {
            background-color: #28a745;
            color: white;
            flex: 1;
        }

        .btn-accept:hover {
            background-color: #218838;
        }

        .btn-reject {
            background-color: #6c757d;
            color: white;
            flex: 1;
        }

        .btn-reject:hover {
            background-color: #545b62;
        }

        /* 隐私政策弹窗样式 */
        .privacy-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 10001;
            align-items: center;
            justify-content: center;
        }

        .privacy-modal.active {
            display: flex;
        }

        .privacy-content {
            background: #ffffff;
            border-radius: 12px;
            width: 90%;
            max-width: 750px;
            max-height: 70vh;
            overflow-y: auto;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            display: flex;
            flex-direction: column;
        }

        .privacy-header {
            padding:15px 20px 10px 20px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .privacy-title {
            margin: 0;
            font-size: 18px;
            color: #333;
        }

        .close-modal {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #999;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-modal:hover {
            color: #333;
        }

        .privacy-body {
            padding: 20px;
            color: #555;
            flex: 1;
        }

        .privacy-body h3 {
            color: #333;
            margin-top: 1.5em;
            margin-bottom: 0.8em;
        }

        .privacy-body p {
            margin-bottom: 1em;
        }

        .privacy-body ul {
            padding-left: 20px;
            margin-bottom: 1em;
        }

        .privacy-body li {
            margin-bottom: 0.5em;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            #cookie-consent-banner {
                left: 10px;
                right: 10px;
                bottom: 0px;
            }

            .cookie-buttons {
                flex-direction: column;
            }

            .privacy-content {
                width: 95%;
                max-height: 90vh;
            }

            .privacy-header {
                padding: 15px;
            }

            .privacy-body {
                padding: 15px;
            }

            .privacy-title {
                font-size: 1.25rem;
            }
        }
        @media (max-width: 1200px) {
            #cookie-consent-banner{ bottom:80px;}
        }