.privacy-consent-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; z-index: 1000; font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); } .modal-content { background-color: #ffffff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; position: relative; z-index: 1001; display: flex; flex-direction: column; animation: fadeIn 0.3s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .modal-header { padding: 20px 25px; border-bottom: 1px solid #eee; background-color: #f9f9f9; border-top-left-radius: 12px; border-top-right-radius: 12px; } .modal-header h3 { margin: 0; font-size: 1.5rem; color: #333; } .modal-body { padding: 20px 25px; flex-grow: 1; color: #555; line-height: 1.6; } .modal-body p { margin-top: 0; margin-bottom: 15px; font-size: 0.95rem; } .cookie-settings-panel { margin-top: 20px; border-top: 1px solid #eee; padding-top: 20px; } .cookie-settings-panel h4 { margin-top: 0; margin-bottom: 20px; font-size: 1.2rem; color: #333; } .cookie-category { margin-bottom: 20px; padding: 15px; background-color: #f9f9f9; border-radius: 8px; border: 1px solid #eee; } .cookie-category:last-child { margin-bottom: 0; } .category-header { display: flex; align-items: center; margin-bottom: 10px; } .category-header span { font-weight: 600; color: #333; font-size: 1.05rem; margin-left: 10px; } .cookie-category p { font-size: 0.85rem; color: #777; margin-bottom: 0; } .modal-footer { padding: 15px 25px; border-top: 1px solid #eee; background-color: #f9f9f9; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; } .button-group { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; flex-grow: 1; } .privacy-link { color: #007bff; text-decoration: none; font-size: 0.9rem; display: flex; align-items: center; } .privacy-link .link-text { font-weight: 500; margin-left: 4px; } .privacy-link:hover { text-decoration: underline; } button { padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 0.9rem; font-weight: 600; transition: background-color 0.2s ease, transform 0.1s ease; white-space: nowrap; } .primary-btn { background-color: #007bff; color: #fff; } .primary-btn:hover { background-color: #0056b3; transform: translateY(-1px); } .secondary-btn { background-color: #e0e0e0; color: #333; } .secondary-btn:hover { background-color: #d0d0d0; transform: translateY(-1px); } .toggle-switch { position: relative; display: inline-block; width: 40px; height: 24px; } .toggle-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: 0.4s; } .slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: 0.4s; } input:checked + .slider { background-color: #007bff; } input:focus + .slider { box-shadow: 0 0 1px #007bff; } input:checked + .slider:before { transform: translateX(16px); } .slider.round { border-radius: 24px; } .slider.round:before { border-radius: 50%; } input:disabled + .slider { background-color: #a0a0a0; cursor: not-allowed; } input:disabled + .slider:before { background-color: #e0e0e0; } @media (max-width: 768px) { .modal-content { width: 95%; margin: 10px; } .modal-header h3 { font-size: 1.3rem; } .modal-body p { font-size: 0.9rem; } .modal-footer { flex-direction: column; align-items: flex-start; } .button-group { width: 100%; justify-content: space-between; margin-top: 10px; } button { flex: 1; min-width: unset; font-size: 0.85rem; } .privacy-link { width: 100%; justify-content: center; } } @media (max-width: 480px) { .modal-header, .modal-body, .modal-footer { padding: 15px 20px; } .modal-header h3 { font-size: 1.2rem; } .button-group { flex-direction: column; gap: 8px; } button { width: 100%; } .cookie-category { padding: 10px; } .category-header span { font-size: 1rem; } .cookie-category p { font-size: 0.8rem; } }