#privacy-consent-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 9999; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; pointer-events: none; /* Initially allow clicks through */ opacity: 0; transition: opacity 0.3s ease-out; } #privacy-consent-modal.show { opacity: 1; pointer-events: auto; /* Enable clicks when visible */ } .modal-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); } .modal-content { background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); max-width: 90%; width: 600px; padding: 30px; position: relative; z-index: 10000; overflow: hidden; transform: scale(0.95); opacity: 0; transition: transform 0.3s ease-out, opacity 0.3s ease-out; } #privacy-consent-modal.show .modal-content { transform: scale(1); opacity: 1; } .banner-section p { margin-bottom: 20px; font-size: 16px; color: #444; } .banner-actions, .preferences-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; } .modal-content button { padding: 12px 20px; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; transition: background-color 0.2s ease, transform 0.1s ease; flex-grow: 1; text-align: center; min-width: 120px; } .btn-accept-all { background-color: #4A90E2; color: #fff; } .btn-accept-all:hover { background-color: #3A7CD0; transform: translateY(-1px); } .btn-reject-all, .btn-close-preferences { background-color: #e0e0e0; color: #555; } .btn-reject-all:hover, .btn-close-preferences:hover { background-color: #d0d0d0; transform: translateY(-1px); } .btn-manage { background-color: #50E3C2; color: #fff; } .btn-manage:hover { background-color: #40CBAA; transform: translateY(-1px); } .btn-save-preferences { background-color: #4A90E2; color: #fff; } .btn-save-preferences:hover { background-color: #3A7CD0; transform: translateY(-1px); } .preferences-section { padding-top: 10px; } .preferences-section h3 { font-size: 24px; margin-bottom: 15px; color: #222; } .preferences-section p a { color: #4A90E2; text-decoration: none; font-size: 14px; } .preferences-section p a:hover { text-decoration: underline; } .cookie-category { background-color: #f9f9f9; border-radius: 8px; padding: 15px; margin-bottom: 15px; border: 1px solid #eee; } .category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .category-header h4 { margin: 0; font-size: 18px; color: #333; } .cookie-category p { font-size: 14px; color: #666; margin: 0; } .switch { position: relative; display: inline-block; width: 48px; height: 28px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 28px; } .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .slider { background-color: #4A90E2; } input:focus + .slider { box-shadow: 0 0 1px #4A90E2; } input:checked + .slider:before { transform: translateX(20px); } input:disabled + .slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled + .slider:before { background-color: #f0f0f0; } @media (max-width: 768px) { .modal-content { max-width: 95%; padding: 20px; } .modal-content button { font-size: 14px; padding: 10px 15px; min-width: unset; flex-basis: calc(50% - 5px); /* Two buttons per row */ } .banner-actions, .preferences-actions { flex-direction: row; } .preferences-section h3 { font-size: 20px; } .category-header h4 { font-size: 16px; } .cookie-category p { font-size: 13px; } } @media (max-width: 480px) { .modal-content { border-radius: 8px; padding: 15px; } .banner-section p { font-size: 14px; } .modal-content button { flex-basis: 100%; /* One button per row */ } .banner-actions, .preferences-actions { flex-direction: column; gap: 8px; } }