.cookieNotice {
    position: fixed;
    left: 0;
    bottom: 0;
    max-width: 18rem;
    background: #2d2d2d;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    z-index: 2147483647;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    display: none;
}

.cookieNotice2{
    position: fixed;
    left: 5px;
    bottom: 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: 1000;
    cursor: pointer;
}

.cookieNotice2:hover {
    box-shadow: 0 0 15px rgba(45, 45, 45, 0.7);
    transform: scale(1.05);
    cursor: pointer;
}

.cookies-content {
    position: relative;
    display: none;
}

.close {
    position: absolute;
    top: 15px;
    right: 10px;
    cursor: pointer;
}

#closeIcon {
    display: inline-block;
    width: 15px;
    height: 4px;
    background: #ccc;
    transform: rotate(45deg);
}

#closeIcon::after {
    content: '';
    display: block;
    width: 15px;
    height: 4px;
    background: #ccc;
    transform: rotate(-90deg);
}

.cookieNotice h3 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.cookieNotice p {
    margin: 0 0 16px 0;
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookieNotice p a {
    color: #ddd;
    text-decoration: underline;
}

.cookieNotice p a:hover{
    color: #cc0000;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.btn {
    padding: 10px 16px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
}

.btn-accept {
    background: #cc0000;
    color: white;
}

.btn-accept:hover {
    background: #fff;
    color: #000;
}

.btn-save {
    background: #fff;
    color: #111;
}

.btn-save:hover {
    background: #fff;
    color: #000;
}

.btn-reject {
    background: transparent;
    color: #ddd;
    border: 1px solid #444;
}

.btn-reject:hover {
    background: #fff;
    color: #000;
}

.cookie-settings {
    background: transparent;
    color: #ddd;
    border: 1px solid #444;
}

.cookie-settings:hover {
    background: #fff;
    color: #000;
}

#cookieSettingsPanel {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    background: #fff;
    color: #111;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 2147483647;
    max-height: 80vh;
    overflow-y: auto;
}

#cookieSettingsPanel h4 {
    margin: 0 0 16px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.cookie-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cookie-row p {
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
    padding-right: 15px;
}

.cookie-row .cookie-desc {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    display: block;
}

.setting-btn {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.setting-btn .btn{
    padding: 10px 16px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    background-color: #cc0000;
    color: #fff;
}

.setting-btn .btn-save:hover{
    background-color: #fff;
    color: #000;
    border: 1px solid #cc0000;
}

.setting-btn .btn-cancel{
    color: #000;
    background-color: #fff;
    border: 1px solid #ddd;
}

.setting-btn .btn-cancel:hover{
    border: 1px solid #cc0000;
    color: #cc0000;
}

.cookieImg {
    width: 50px;
    height: 50px;
}

.cookieImg img {
    width: 100%;
    height: 100%;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.cookie-toggle-slider {
    background-color: #cc0000;
}

input:checked+.cookie-toggle-slider:before {
    transform: translateX(26px);
}

input:disabled+.cookie-toggle-slider {
    background-color: #666;
    cursor: not-allowed;
}

.cookie-details {
    margin-top: 20px;
    padding-top: 15px;
}

.cookie-details summary {
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 10px;
}

.cookie-list {
    font-size: 0.85rem;
    margin-top: 10px;
}

.cookie-list table {
    width: 100%;
    border-collapse: collapse;
}

.cookie-list th,
.cookie-list td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.cookie-list th {
    background-color: #f2f2f2;
}