/* Account presentation only; WooCommerce owns authentication and password visibility. */
.cn-account-guest { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:72px; align-items:stretch; padding-block:0; }
.cn-account-guest .cn-account-form-panel { padding-block:44px 64px; }
.cn-account-form-panel { min-width:0; }
.cn-patient-account .cn-account-guest h1 { font-size:clamp(28px,3vw,40px); margin-bottom:16px; }
.cn-account-guest .cn-account-form-panel>p { color:#586968; margin-bottom:28px; }
.cn-account-guest .account-container { padding:0; }
.cn-patient-account .cn-account-guest h2 { font-size:22px; margin-bottom:18px; }
.cn-patient-account .woocommerce-form-login,.cn-patient-account .lost_reset_password { max-width:none; margin:0; padding:24px; border-radius:5px; }
.cn-patient-account .woocommerce-form-login .form-row { padding:0; margin:0 0 20px; }
.cn-patient-account .woocommerce-form-login label { font-size:14px; font-weight:500; color:#263334; margin-bottom:8px; }
.cn-patient-account .woocommerce input:not([type="checkbox"]):not([type="hidden"]) { width:100%; height:50px; margin:0; padding:0 14px; border:1px solid #bccdce; border-radius:5px; background:#fff; box-shadow:none; }
.cn-patient-account .woocommerce input:focus { border-color:#3d7fa3; outline:2px solid #b8dad8; outline-offset:1px; }
.cn-patient-account .woocommerce .password-input { position:relative; display:block; width:100%; }
.cn-patient-account .woocommerce .password-input input { padding-right:56px; }
.cn-patient-account .woocommerce .password-input .show-password-input { position:absolute; inset:3px 4px auto auto; display:grid; place-items:center; width:44px; height:44px; min-width:44px; min-height:44px; margin:0; padding:0; border:0; border-radius:5px; background:transparent; color:#3d7fa3; box-shadow:none; transform:none; cursor:pointer; font-size:20px; line-height:1; }
.cn-patient-account .woocommerce .password-input .show-password-input { visibility:visible; }
.cn-patient-account .woocommerce .password-input .show-password-input::before { display:none; }
.cn-patient-account .woocommerce .password-input .show-password-input::after { content:''; display:block; width:22px; height:22px; margin:0; background:currentColor; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.cn-patient-account .woocommerce .password-input .show-password-input.display-password::after { mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='m3 3 18 18M10 5.2c.7-.1 1.3-.2 2-.2 6.5 0 10 7 10 7a20 20 0 0 1-3 3.9M6.2 6.2A22 22 0 0 0 2 12s3.5 7 10 7c2.1 0 4-.7 5.6-1.8M10 10a3 3 0 0 0 4 4'/%3E%3C/svg%3E"); }
.cn-patient-account .woocommerce .password-input .show-password-input:hover { background:#eaf3f3; color:#123f46; }
.cn-patient-account .woocommerce .password-input .show-password-input:focus-visible { outline:2px solid #3d7fa3; outline-offset:-2px; }
.cn-patient-account .woocommerce-form-login__rememberme { display:flex; align-items:center; gap:10px; }
.cn-patient-account .woocommerce-form-login__rememberme input { width:18px; height:18px; margin:0; }
.cn-patient-account .woocommerce-form-login__submit { float:none; margin:12px 0 0; }
.cn-patient-account .woocommerce-LostPassword { margin:0; font-size:14px; }
.cn-account-visual { position:relative; overflow:hidden; border-radius:5px; min-height:560px; background:#123f46; }
.cn-account-visual>img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
/* Full-width guest layout: the photo reaches the viewport edge, while the form stays aligned with the header. */
@media (min-width:850px) {
 .cn-account-content.cn-account-guest { width:100%; max-width:none; }
 .cn-account-guest .cn-account-form-panel { padding-left:max(40px,calc((100vw - 1240px)/2)); }
}
@media (max-width:1050px) { .cn-account-guest { gap:32px; } }
@media (max-width:849px) {
 .cn-account-guest { display:block; max-width:560px; padding-block:32px 40px; }
 .cn-account-guest .cn-account-form-panel { padding-block:0; }
 .cn-account-visual { display:none; }
 .cn-patient-account .woocommerce-form-login,.cn-patient-account .lost_reset_password { padding:20px; }
}
.cn-patient-account .cn-account-signout { margin-top:24px; font-size:13px; }
.cn-patient-account .cn-account-signout a { color:#536c66; text-decoration:underline; }

.cn-patient-account .amed-account-preparation{margin:24px 0;padding:0;border:0;min-width:0}
.cn-patient-account .amed-account-preparation legend{font-size:19px;font-weight:500;margin-bottom:12px}
.cn-patient-account .amed-account-preparation .form-row{display:flex;flex-direction:column;gap:6px;margin:0 0 16px;padding:0;width:100%}
.cn-patient-account .amed-account-preparation label{margin:0;font-size:14px;font-weight:400}
.cn-patient-account .amed-account-preparation input,.cn-patient-account .amed-account-preparation select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin:0;min-height:48px;height:auto;font-size:16px;font-weight:400;border-radius:6px}
.cn-patient-account .amed-account-preparation input[type=file]{font-size:14px;padding:10px;background:#f5f7f4}
.cn-patient-account .amed-account-anamnesis{margin-bottom:28px}
.cn-patient-account .amed-account-anamnesis button[type=submit]{min-height:48px;width:100%;margin:16px 0 0;font-weight:500;text-transform:none}

.cn-patient-account .cn-account-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0 0 12px;color:#536c66;font-size:15px;font-weight:400}
.cn-patient-account .cn-account-form-panel>h1{font-size:28px;font-weight:500;line-height:1.25;margin:0 0 24px}
.cn-patient-account .amed-account-anamnesis .amed-public-booking__anamnesis{border-top:0;padding-top:0;margin-top:16px}
.cn-patient-account .amed-account-anamnesis .amed-public-booking__anamnesis>h3,.cn-patient-account .amed-account-anamnesis .amed-public-booking__anamnesis>p{display:none}
.cn-patient-account .cn-account-free-consultation h2{font-size:19px;font-weight:500}
.cn-patient-account .cn-account-free-consultation .button{display:flex;justify-content:center;align-items:center;width:100%;min-height:48px;margin:16px 0 0;padding:10px 14px;white-space:normal;font-size:16px;font-weight:500;text-transform:none;letter-spacing:0}
