:root {
    --primary-purple: #2D0051;
    --primary-yellow: #FFB800;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --border-color: #E5E5E5;
    --overlay: rgba(0, 0, 0, 0.5);
}

/* Cookie Consent Modal Styles */
#cookie-overlay,
#preferences-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.cookie-consent,
.cookie-preferences {
    padding: 15px;
    background: var(--white);
    max-width: 500px;
    width: 90%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-header {
    background: var(--primary-purple);
    padding: 24px;
}

.cookie-header h2 {
    color: var(--white);
    font-size: 24px;
    margin: 0 0 8px 0;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.cookie-body {
    padding: 24px;
}

.cookie-body p {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 24px 0;
    font-family: 'Roboto', sans-serif;
}

.cookie-options {
    margin: 0 0 24px 0;
}

.cookie-options label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
}

.cookie-options input[type="radio"] {
    margin-right: 12px;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-purple);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.cookie-options input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-purple);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-buttons button {
    flex: 1;
    padding: 14px 24px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.2s ease;
    border-radius: 4px;
}

#cookie-settings,
#preferences-back {
    background: transparent;
    border: 1px solid var(--primary-purple);
    color: var(--primary-purple);
}

#cookie-accept,
#preferences-save {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.privacy-notice {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.privacy-notice a {
    color: var(--primary-purple);
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cookie-consent,
    .cookie-preferences {
        width: calc(100% - 48px);
        margin: 24px;
    }
    
    .cookie-header {
        padding: 20px;
    }
    
    .cookie-body {
        padding: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-content {
    width: 100%;
}

.cookie-header {
    background: var(--primary-purple);
    color: var(--white);
    padding: 15px 20px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.cookie-header h2 {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

.cookie-body {
    padding: 20px;
}

.cookie-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cookie-options {
    margin-bottom: 20px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-purple);
    border-radius: 50%;
    margin: 0;
    position: relative;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-purple);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-option label {
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.cookie-button {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: none;
    width: 100%;
    text-align: center;
}

.cookie-button.settings {
    background: var(--white);
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
}

.cookie-button.accept {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.cookie-reject {
    background: none;
    border: none;
    color: var(--text-light);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    display: block;
    margin: 10px auto 0;
}

.privacy-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
}

.privacy-link:hover {
    text-decoration: underline;
}

.preferences-modal {
    max-width: 600px;
}

.cookie-categories {
    margin-bottom: 20px;
}

.cookie-category {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

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

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

.category-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

.category-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

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

.category-toggle.required {
    opacity: 0.5;
    pointer-events: none;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary-purple);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.category-description {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
} 