.evora-account-dropdown{position:relative;display:inline-block;text-align:start;font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;max-width:100%}
.evora-account-dropdown>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;border:1px solid #baa587;border-radius:9px;background:#baa587;color:#183c58;padding:10px 16px;font-weight:650;min-height:44px;white-space:nowrap}
.evora-account-dropdown>summary::-webkit-details-marker{display:none}
.evora-account-dropdown>summary:hover{background:#d0bfa6}
.evora-account-dropdown>summary:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 5px #183c58}
.evora-account-chevron{transition:transform .15s;margin-inline-start:5px}
.evora-account-dropdown[open] .evora-account-chevron{transform:rotate(180deg)}
.evora-account-dropdown>.evora-account-panel{position:absolute;inset-inline-end:0;top:calc(100% + 10px);z-index:1050;width:340px;max-width:calc(100vw - 32px);max-height:70vh;overflow:auto;background:#fff;color:#243c4b;border:1px solid #e0e6eb;border-radius:14px;padding:22px;box-shadow:0 14px 40px #102d4933;white-space:normal}
.evora-account-dropdown .evora-account-panel a{color:#1c5278;text-decoration:underline}
.evora-account-dropdown .evora-account-panel .btn-primary{background:#1c3f60;border-color:#1c3f60;color:#fff}
.evora-account-dropdown .evora-account-panel .form-group{margin-bottom:14px}
.evora-account-dropdown .evora-account-panel form{margin:0}
.evora-account-dropdown .evora-account-panel .mod-login__options{padding-inline-start:18px;margin-top:16px}
.evora-account-dropdown .evora-account-panel .card{border:0;background:transparent}
.evora-account-dropdown .evora-account-panel .card-body{padding:0}
.container-header .container-search:has(.evora-account-dropdown){margin-inline-start:auto}
@media(max-width:575px){.evora-account-dropdown>.evora-account-panel{position:fixed;left:16px;right:16px;top:var(--evora-account-top,100px);width:auto;max-height:calc(100dvh - var(--evora-account-top,100px) - 16px)}.evora-account-dropdown>summary{padding:9px 12px}}
@media print{.evora-account-dropdown{display:none}}

/* Keep the native login module on the branding row without changing the template. */
.container-header .evora-account-brand-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:20px}
.container-header .evora-account-brand-row>.navbar-brand{min-width:0;flex:0 1 auto;margin-inline-end:auto}
.container-header .evora-account-brand-row>.navbar-brand img{max-width:100%;height:auto}
.container-header .evora-account-brand-row>.evora-account-dropdown{flex:0 0 auto;margin-inline-start:auto}
.container-header .container-nav[hidden]{display:none}
@media(max-width:575px){.container-header .evora-account-brand-row{gap:12px}.container-header .evora-account-brand-row>.navbar-brand{max-width:calc(100% - 168px)}.container-header .evora-account-brand-row> .evora-account-dropdown>summary{gap:6px;font-size:13px}}

@media(max-width:900px){.evora-account-dropdown input,.evora-account-dropdown select{font-size:16px;min-height:44px}.evora-account-dropdown button{min-height:44px}.evora-account-dropdown input[type=checkbox]{min-height:20px;width:20px;height:20px}.evora-account-dropdown .evora-account-panel{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}}
@media(max-width:575px){.container-header .evora-account-brand-row{padding:12px;gap:10px}.container-header .evora-account-brand-row>.navbar-brand{max-width:calc(100% - 155px);margin-bottom:0}.container-header .evora-account-brand-row .brand-logo img{object-fit:contain;max-height:64px}.evora-account-dropdown>.evora-account-panel{padding:18px;max-height:min(70dvh,calc(100dvh - var(--evora-account-top,100px) - 16px))}}
@media(max-width:359px){.container-header .evora-account-brand-row> .evora-account-dropdown>summary{gap:5px;padding:9px 8px;font-size:12px}.container-header .evora-account-brand-row>.navbar-brand{max-width:calc(100% - 140px)}}
