.cookie-consent { position: fixed; bottom: 0; left: 0; width: 100%; transform: translateY(100%); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); z-index: 50; background: linear-gradient(145deg, #5A7A0A, #513C2F); border-top: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); } .cookie-container { padding: 1.5rem; max-width: 1200px; margin: 0 auto; position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 2rem; } .cookie-container::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 70%); } .cookie-content { flex: 1; } .cookie-title { font-size: 1.25rem; color: #ffffff; margin-bottom: 0.75rem; font-weight: 600; display: flex; align-items: center; gap: 0.75rem; } .cookie-title i { color: #ffffff; opacity: 0.9; } .cookie-text { color: rgba(255, 255, 255, 0.9); line-height: 1.6; font-size: 0.95rem; margin: 0; } .cookie-link { color: #ffffff; text-decoration: none; font-weight: 500; transition: all 0.3s ease; position: relative; opacity: 0.9; border-bottom: 1px solid rgba(255, 255, 255, 0.3); } .cookie-link:hover { opacity: 1; border-bottom-color: #ffffff; } .cookie-buttons { display: flex; gap: 1rem; align-items: center; flex-shrink: 0; } .cookie-button-reject, .cookie-button-accept { padding: 0.75rem 1.5rem; border-radius: 8px; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; } .cookie-button-reject { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); color: #ffffff; } .cookie-button-reject:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); } .cookie-button-accept { background: #5A7A0A; border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .cookie-button-accept:hover { background: #513C2F; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); } @media (max-width: 768px) { .cookie-container { flex-direction: column; text-align: center; padding: 1.25rem; gap: 1.5rem; } .cookie-buttons { width: 100%; justify-content: center; } .cookie-button-reject, .cookie-button-accept { flex: 1; max-width: 160px; } .cookie-title { justify-content: center; } } @media (max-width: 480px) { .cookie-buttons { flex-direction: column; } .cookie-button-reject, .cookie-button-accept { max-width: 100%; width: 100%; } } '; if (!isset($_COOKIE["aprenderd_cookie_consent"])) { echo $cookieConsentHtml; } ?>