/**
 * Auth UI — page + modal styles from login_and_registration_modal_page.html
 * Local only (no CDN).
 */
.gm-auth-page{position:relative;min-height:70vh;padding:3rem 1rem 4rem;background:#f4f7f6;font-family:'Vazirmatn',Tahoma,'Segoe UI',sans-serif}
.gm-auth-page__curve{position:absolute;top:0;right:0;left:0;height:16rem;background:#1a3626;border-radius:0 0 4rem 4rem;z-index:0;pointer-events:none}
.gm-auth-page__inner{position:relative;z-index:1;max-width:56rem;margin:0 auto}
.gm-auth-shell{display:flex;flex-direction:column;background:#fff;border-radius:1rem;box-shadow:0 20px 40px -12px rgba(26,54,38,.18);border:1px solid #f3f4f6;overflow:hidden}
.gm-auth-aside{display:none;background:#1a3626;color:#fff;padding:3rem;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.gm-auth-aside__icon{font-size:2.75rem;color:#86efac;margin-bottom:1.5rem}
.gm-auth-aside__icon .dashicons{width:48px;height:48px;font-size:48px;color:#86efac}
.gm-auth-aside__title{font-size:1.75rem;font-weight:800;line-height:1.35;margin:0 0 1rem;color:#fff}
.gm-auth-aside__text{color:#d1d5db;line-height:1.8;margin:0 0 2rem;font-size:.95rem}
.gm-auth-aside__list{list-style:none;margin:0;padding:0;display:grid;gap:.85rem}
.gm-auth-aside__list li{display:flex;align-items:center;gap:.75rem;font-size:.875rem;color:#e5e7eb}
.gm-auth-aside__list .dashicons{color:#4ade80;width:18px;height:18px;font-size:18px}
@media(min-width:768px){.gm-auth-shell{flex-direction:row}.gm-auth-aside{display:flex;width:50%;flex-shrink:0}.gm-auth--page{width:50%}}
.gm-auth--page{background:#fff}
.gm-auth--page .gm-auth-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:2rem!important;border-radius:0!important}
@media(min-width:768px){.gm-auth--page .gm-auth-card{padding:3rem!important}}
.gm-auth-page-heading{text-align:center;margin-bottom:1.75rem}
.gm-auth-page-heading__title{margin:0 0 .5rem;font-size:1.5rem;font-weight:800;color:#1f2937}
.gm-auth-page-heading__text{margin:0;font-size:.875rem;color:#6b7280}
.gm-auth--page .gm-auth-brand{display:none}
.gm-auth--page .gm-auth-tabs{display:flex;gap:0;background:#f3f4f6!important;border:0!important;border-radius:.5rem!important;padding:.25rem!important;margin-bottom:1.75rem}
.gm-auth--page .gm-auth-tab{flex:1;border:0!important;background:transparent!important;color:#6b7280!important;font-weight:500!important;border-radius:.375rem!important;min-height:40px;box-shadow:none!important}
.gm-auth--page .gm-auth-tab.is-active{background:#fff!important;color:#2d6a4f!important;font-weight:700!important;box-shadow:0 1px 3px rgba(0,0,0,.08)!important}
.gm-auth--page .gm-auth-title{color:#1f2937!important;font-size:1.25rem!important;font-weight:800!important;text-align:center}
.gm-auth--page .gm-auth-subtitle{color:#6b7280!important;text-align:center}
.gm-auth--page .gm-form-label{color:#374151!important;font-weight:700!important}
.gm-auth--page .gm-form-input,.gm-auth--page .gm-form-textarea,.gm-auth--page .gm-form-select,.gm-auth--page .gm-otp-digit{background:#f9fafb!important;border:1px solid #d1d5db!important;color:#111827!important;border-radius:.5rem!important}
.gm-auth--page .gm-form-input:focus,.gm-auth--page .gm-form-textarea:focus,.gm-auth--page .gm-otp-digit:focus{background:#fff!important;border-color:#2d6a4f!important;box-shadow:0 0 0 1px #2d6a4f!important}
.gm-auth--page .gm-btn-primary,.gm-auth--page .gm-btn-secondary{background:#3b5f4a!important;border-color:#3b5f4a!important;color:#fff!important;border-radius:.5rem!important;box-shadow:0 6px 16px -4px rgba(59,95,74,.4)}
.gm-auth--page .gm-btn-primary:hover:not(:disabled):not(.is-loading),.gm-auth--page .gm-btn-secondary:hover:not(:disabled):not(.is-loading){background:#2a4635!important;border-color:#2a4635!important;color:#fff!important}
.gm-auth--page .gm-auth-link{color:#2d6a4f!important}
.gm-auth--page .gm-auth-legal{margin:1.25rem 0 0;text-align:center;font-size:.8125rem;color:#6b7280}
.gm-auth--page .gm-auth-roles{display:grid;gap:.75rem}
.gm-auth--page .gm-auth-role{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:1rem!important;border:1px solid #e5e7eb!important;border-radius:.75rem!important;background:#fff!important;min-height:auto}
.gm-auth--page .gm-auth-role:hover{border-color:#2d6a4f!important;background:#f0fdf4!important}
.gm-auth--page .gm-auth-role:has(input:checked){border-color:#2d6a4f!important;background:#f0fdf4!important;box-shadow:0 0 0 1px #2d6a4f}
.gm-auth--page .gm-auth-role-main{display:flex;align-items:center;gap:.75rem}
.gm-auth--page .gm-auth-role-icon{width:2.5rem;height:2.5rem;border-radius:9999px;background:#f3f4f6;color:#6b7280;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.gm-auth--page .gm-auth-role:has(input:checked) .gm-auth-role-icon{background:#dcfce7;color:#2d6a4f}
.gm-auth--page .gm-auth-role-text{display:flex;flex-direction:column;gap:.15rem}
.gm-auth--page .gm-auth-role-text strong{color:#1f2937;font-size:.9375rem}
.gm-auth--page .gm-auth-role-text small{color:#6b7280;font-size:.75rem}
.gm-auth--page .gm-auth-role input{accent-color:#2d6a4f;width:1.15rem;height:1.15rem}
.gm-auth-modal-backdrop{background:rgba(0,0,0,.7)!important;backdrop-filter:blur(6px)!important}
.gm-auth-modal-dialog{width:min(450px,100%)!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.gm-auth-modal-close{top:12px!important;left:12px!important;width:32px!important;height:32px!important;border-radius:.5rem!important;background:rgba(55,65,81,.55)!important;border:1px solid #4b5563!important;color:#d1d5db!important}
.gm-auth-modal-close:hover{background:#4b5563!important;color:#fff!important}
.gm-auth--popup .gm-auth-card{background:#2a2a2a!important;border:1px solid #374151!important;border-radius:1rem!important;box-shadow:0 25px 50px -12px rgba(0,0,0,.55)!important;padding:1.5rem!important;color:#e5e7eb!important}
@media(min-width:768px){.gm-auth--popup .gm-auth-card{padding:2rem!important}}
.gm-auth--popup .gm-auth-brand{display:flex;flex-direction:row-reverse;justify-content:flex-start;align-items:center;gap:.75rem;margin-bottom:1.5rem;padding-left:2.5rem;text-align:right}
.gm-auth--popup .gm-auth-brand-mark{width:40px!important;height:40px!important;border-radius:.5rem!important;background:rgba(30,58,138,.35)!important;border:1px solid rgba(30,64,175,.5)!important;color:#60a5fa!important;box-shadow:none!important}
.gm-auth--popup .gm-auth-brand-kicker{color:#60a5fa!important;font-size:.875rem!important;font-weight:700!important;margin:0!important}
.gm-auth--popup .gm-auth-brand-text{color:#9ca3af!important;font-size:.75rem!important;margin:.15rem 0 0!important}
.gm-auth--popup .gm-auth-tabs{background:#1f2937!important;border:1px solid #374151!important;border-radius:.5rem!important;padding:.25rem!important;margin-bottom:1.75rem}
.gm-auth--popup .gm-auth-tab{flex:1;background:transparent!important;color:#9ca3af!important;border:0!important;border-radius:.375rem!important;font-weight:700!important;box-shadow:none!important}
.gm-auth--popup .gm-auth-tab.is-active{background:#374151!important;color:#fff!important;border:1px solid #4b5563!important;box-shadow:0 1px 2px rgba(0,0,0,.2)!important}
.gm-auth--popup .gm-auth-title{color:#3b82f6!important;font-size:1.5rem!important;font-weight:800!important;text-align:center}
.gm-auth--popup .gm-auth-subtitle{color:#9ca3af!important;font-size:.75rem!important;text-align:center}
.gm-auth--popup .gm-form-label{color:#d1d5db!important;font-weight:700!important}
.gm-auth--popup .gm-form-input,.gm-auth--popup .gm-form-textarea,.gm-auth--popup .gm-form-select{background:#fff!important;border:1px solid #4b5563!important;color:#111827!important;border-radius:.5rem!important}
.gm-auth--popup .gm-form-input:focus,.gm-auth--popup .gm-form-textarea:focus{border-color:#3b82f6!important;box-shadow:0 0 0 1px #3b82f6!important}
.gm-auth--popup .gm-otp-digit{background:#1f2937!important;border:1px solid #4b5563!important;color:#fff!important;border-radius:.5rem!important}
.gm-auth--popup .gm-otp-digit:focus{border-color:#3b82f6!important;box-shadow:0 0 0 1px #3b82f6!important}
.gm-auth--popup .gm-btn-primary,.gm-auth--popup .gm-btn-secondary{background:#374151!important;border:1px solid #6b7280!important;color:#fff!important;border-radius:.5rem!important;box-shadow:none!important}
.gm-auth--popup .gm-btn-primary:hover:not(:disabled):not(.is-loading),.gm-auth--popup .gm-btn-secondary:hover:not(:disabled):not(.is-loading){background:#4b5563!important;border-color:#9ca3af!important;color:#fff!important;transform:none}
.gm-auth--popup .gm-auth-link{color:#60a5fa!important}
.gm-auth--popup .gm-auth-switch,.gm-auth--popup .gm-auth-timer{color:#9ca3af!important}
.gm-auth--popup .gm-auth-roles{display:grid;gap:.5rem}
.gm-auth--popup .gm-auth-role{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1rem!important;border:1px solid #4b5563!important;border-radius:.5rem!important;background:transparent!important;min-height:auto}
.gm-auth--popup .gm-auth-role:hover{border-color:#6b7280!important}
.gm-auth--popup .gm-auth-role:has(input:checked){border-color:#3b5f4a!important;background:rgba(59,95,74,.1)!important}
.gm-auth--popup .gm-auth-role-main{display:flex;align-items:center;gap:.5rem;flex:1}
.gm-auth--popup .gm-auth-role-icon{display:none}
.gm-auth--popup .gm-auth-role-text strong{color:#d1d5db;font-size:.875rem;font-weight:500}
.gm-auth--popup .gm-auth-role:has(input:checked) .gm-auth-role-text strong{color:#e5e7eb}
.gm-auth--popup .gm-auth-role-text small{display:none}
.gm-auth--popup .gm-auth-role input[type=radio]{appearance:none;width:1rem;height:1rem;border:2px solid #6b7280;border-radius:50%;position:relative;background:transparent;flex-shrink:0}
.gm-auth--popup .gm-auth-role input[type=radio]:checked{border-color:#3b5f4a}
.gm-auth--popup .gm-auth-role input[type=radio]:checked::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.5rem;height:.5rem;background:#3b5f4a;border-radius:50%}
.gm-auth--popup .gm-auth-alert.is-error{background:rgba(127,29,29,.35);color:#fecaca;border-color:rgba(248,113,113,.35)}
.gm-auth--popup .gm-auth-alert.is-success{background:rgba(6,78,59,.35);color:#a7f3d0;border-color:rgba(52,211,153,.35)}
.gm-auth-popup-trigger{border-radius:.5rem!important}
@media(max-width:767px){.gm-auth-page{padding:1.5rem .75rem 2.5rem}.gm-auth-page__curve{height:10rem;border-radius:0 0 2rem 2rem}}

body:has(.gm-auth-page) .entry-title,body:has(.gm-auth-page) .page-title,body:has(.gm-auth-page) .elementor-page-title,body:has(.gm-auth-page) h1.wp-block-post-title{display:none!important;}

.gm-icon-leaf{display:inline-flex;align-items:center;justify-content:center;line-height:1}.gm-icon-leaf svg{width:1.15em;height:1.15em;display:block}
