.medtech-cookie-panel[hidden], .medtech-cookie-settings[hidden] { display: none !important; }
.medtech-cookie-panel { position: fixed; z-index: 1000; left: 24px; right: 24px; bottom: 24px; display: flex; gap: 28px; align-items: center; max-width: 1180px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; margin: 0 auto; padding: 24px 28px; color: #182e40; background: #fff; border: 1px solid #d4dce3; border-top: 4px solid #d57527; border-radius: 4px; box-shadow: 0 8px 40px #071a2b40; font-family: Arial, sans-serif; font-size: 15px; line-height: 1.6; }
.medtech-cookie-copy { min-width: 0; flex: 1; }
.medtech-cookie-panel h2 { margin: 0 0 8px; color: #132b40; font-family: Georgia, serif; font-size: 23px; font-weight: 400; line-height: 1.25; }
.medtech-cookie-panel p { margin: 6px 0; font-size: 15px; line-height: 1.6; }
.medtech-cookie-panel .medtech-cookie-status { font-size: 13px; color: #4c5d68; }
.medtech-cookie-panel summary { cursor: pointer; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.medtech-cookie-panel details { margin-top: 10px; }
.medtech-cookie-panel details p { font-size: 14px; }
.medtech-cookie-panel a { color: #165a75; text-decoration: underline; overflow-wrap: anywhere; }
.medtech-cookie-actions { display: flex; flex-direction: column; gap: 10px; min-width: 182px; }
.medtech-cookie-actions button { min-height: 44px; padding: 10px 18px; border: 1px solid #15344d; border-radius: 3px; background: #15344d; color: #fff; font: 600 14px/1.4 Arial, sans-serif; cursor: pointer; }
.medtech-cookie-actions button:hover { background: #245773; }
.medtech-cookie-actions .medtech-cookie-close { min-height: 36px; padding: 6px 12px; color: #304d60; background: transparent; border-color: transparent; font-weight: 400; text-decoration: underline; }
.medtech-cookie-actions .medtech-cookie-close:hover { background: #edf2f5; }
.medtech-cookie-settings { padding: 3px 0; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.medtech-cookie-panel button:focus-visible, .medtech-cookie-panel a:focus-visible, .medtech-cookie-panel summary:focus-visible, .medtech-cookie-settings:focus-visible { outline: 3px solid #d57527; outline-offset: 3px; }
@media (max-width: 680px) {
  .medtech-cookie-panel { left: 10px; right: 10px; bottom: 10px; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: 18px; gap: 14px; flex-direction: column; align-items: stretch; }
  .medtech-cookie-panel h2 { font-size: 21px; }
  .medtech-cookie-actions { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .medtech-cookie-actions button { flex: 1 1 130px; }
  .medtech-cookie-actions .medtech-cookie-close { flex-basis: 100%; }
}
