/* Cookie Notice Styles */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px 0;
    border-top: 3px solid #6dc82b;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-notice-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.cookie-notice-text {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #1f1f1f;
    min-width: 300px;
}

.cookie-notice-text a {
    color: #6dc82b;
    text-decoration: underline;
}

.cookie-notice-text a:hover {
    text-decoration: none;
}

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

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accept {
    background-color: #6dc82b;
    color: #fff;
}

.btn-accept:hover {
    background-color: #5db020;
}

.btn-reject {
    background-color: #f0f1f2;
    color: #1f1f1f;
}

.btn-reject:hover {
    background-color: #e0e1e2;
}

.btn-settings {
    background-color: transparent;
    color: #6dc82b;
    border: 2px solid #6dc82b;
}

.btn-settings:hover {
    background-color: #6dc82b;
    color: #fff;
}

/* Cookie Settings Modal Styles */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
}

.cookie-settings-modal.show {
    display: block;
}

.cookie-settings-modal-content {
    position: relative;
    background-color: #fff;
    margin: 50px auto;
    padding: 30px;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-settings-header {
    margin-bottom: 20px;
}

.cookie-settings-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #1f1f1f;
}

.cookie-settings-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.cookie-settings-close:hover {
    color: #1f1f1f;
}

.cookie-settings-description {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
    color: #1f1f1f;
}

.cookie-settings-group {
    margin-bottom: 20px;
}

.cookie-setting-item {
    padding: 20px;
    border: 1px solid #e0e1e2;
    border-radius: 4px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.cookie-setting-item:last-child {
    margin-bottom: 0;
}

.cookie-setting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-setting-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    color: #1f1f1f;
}

.cookie-checkbox {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-checkbox-label {
    cursor: pointer;
}

.cookie-setting-toggle {
    position: relative;
    display: inline-block;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    appearance: none;
    background-color: #ccc;
    border-radius: 24px;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-toggle:checked {
    background-color: #6dc82b;
}

.cookie-toggle:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle:checked:before {
    transform: translateX(26px);
}

.cookie-setting-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

#cookie-necessary-toggle:disabled,
#cookie-necessary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-footer {
    margin-top: 30px;
    text-align: right;
}

.cookie-settings-footer .btn-cookie {
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-notice-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-notice-text {
        min-width: 100%;
        margin-bottom: 15px;
    }
    
    .cookie-notice-buttons {
        justify-content: stretch;
    }
    
    .btn-cookie {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-setting-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cookie-setting-toggle {
        align-self: flex-end;
    }
    
    .cookie-settings-modal-content {
        margin: 20px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .cookie-notice {
        padding: 15px 0;
    }
    
    .cookie-notice-buttons {
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
    }
    
    .cookie-notice-text {
        font-size: 13px;
    }
}

