#privacy-consent-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 1000; } #privacy-consent { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 600px; background-color: #282c34; color: #e0e0e0; border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); z-index: 1001; overflow: hidden; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; animation: fadeIn 0.3s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translate(-50%, -60%); } to { opacity: 1; transform: translate(-50%, -50%); } } .consent-box { padding: 30px; } .consent-box h2 { color: #61dafb; margin-top: 0; margin-bottom: 20px; font-size: 1.8em; text-align: center; } .consent-box p { font-size: 1em; line-height: 1.6; margin-bottom: 25px; text-align: justify; } .consent-actions { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-top: 20px; } .consent-actions button { background-color: #61dafb; color: #282c34; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; flex-grow: 1; max-width: 180px; } .consent-actions button:hover { background-color: #21a1f1; transform: translateY(-2px); } .consent-actions button:nth-child(2) { background-color: #ff6b6b; color: #fff; } .consent-actions button:nth-child(2):hover { background-color: #e63946; } .consent-actions button:nth-child(3) { background-color: #4CAF50; color: #fff; } .consent-actions button:nth-child(3):hover { background-color: #45a049; } .consent-settings { display: none; margin-top: 20px; } .consent-settings h3 { color: #61dafb; font-size: 1.4em; margin-bottom: 15px; text-align: center; } .cookie-category { background-color: #3a3f47; padding: 15px 20px; border-radius: 8px; margin-bottom: 15px; display: flex; flex-direction: column; gap: 10px; } .cookie-category-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; } .cookie-category-header h4 { margin: 0; color: #e0e0e0; font-size: 1.1em; } .cookie-category-description { font-size: 0.9em; color: #b0b0b0; line-height: 1.5; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; } .cookie-category.expanded .cookie-category-description { max-height: 100px; /* Adjust as needed */ margin-top: 10px; } .toggle-switch { position: relative; display: inline-block; width: 45px; height: 25px; } .toggle-switch input { opacity: 0; width: 0; height: 0; } .toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: 0.4s; border-radius: 25px; } .toggle-slider:before { position: absolute; content: ""; height: 17px; width: 17px; left: 4px; bottom: 4px; background-color: white; transition: 0.4s; border-radius: 50%; } input:checked + .toggle-slider { background-color: #61dafb; } input:focus + .toggle-slider { box-shadow: 0 0 1px #61dafb; } input:checked + .toggle-slider:before { transform: translateX(20px); } .cookie-category-header .always-active-label { font-size: 0.9em; color: #61dafb; font-weight: bold; } .privacy-link { display: block; text-align: center; margin-top: 25px; } .privacy-link a { color: #61dafb; text-decoration: none; font-size: 0.95em; transition: color 0.3s ease; } .privacy-link a:hover { color: #21a1f1; text-decoration: underline; } /* Responsive adjustments */ @media (max-width: 768px) { #privacy-consent { width: 95%; max-width: none; border-radius: 8px; } .consent-box { padding: 20px; } .consent-box h2 { font-size: 1.5em; } .consent-box p { font-size: 0.9em; } .consent-actions button { padding: 10px 15px; font-size: 0.9em; max-width: 100%; } .consent-actions { flex-direction: column; } .consent-settings h3 { font-size: 1.2em; } .cookie-category { padding: 12px 15px; } .cookie-category-header h4 { font-size: 1em; } .toggle-switch { width: 40px; height: 22px; } .toggle-slider:before { height: 15px; width: 15px; left: 3px; bottom: 3px; } input:checked + .toggle-slider:before { transform: translateX(18px); } } @media (max-width: 480px) { .consent-box h2 { font-size: 1.3em; } .consent-box p { font-size: 0.85em; } .consent-actions button { font-size: 0.85em; padding: 8px 12px; } .cookie-category-header h4 { font-size: 0.95em; } .cookie-category-description { font-size: 0.8em; } }