/* ioc-desktop-account.css - desktop v2, 2026-11-03 (Stefano: "La registrazione come interfaccia risulta vecchia davvero").
   Computers only: the <link> in layout/ioc_mobile/header.xml carries the desktop media query, so phones and tablets keep
   their October look. Register, login and forgot-password pages get the look of "Trova il tuo ordine": big fields with
   the label above, one navy button, a calm side panel. No :has, no nesting, no container queries. */

/* ===================================================================== 1. shared form look */
body.customer-account-create .col-main .page-title h1,
body.customer-account-login .col-main .page-title h1,
body.customer-account-forgotpassword .col-main .page-title h1 { margin: 8px 0 20px; font-size: 30px; line-height: 1.2; color: #0b3c6b; }

body.customer-account-create .form-list,
body.customer-account-login .form-list,
body.customer-account-forgotpassword .form-list { margin: 0; padding: 0; list-style: none; }
body.customer-account-create .form-list > li,
body.customer-account-login .form-list > li,
body.customer-account-forgotpassword .form-list > li { margin: 0 0 18px; padding: 0; list-style: none; }

body.customer-account-create .form-list label,
body.customer-account-login .form-list label,
body.customer-account-forgotpassword .form-list label {
	display: block; margin: 0 0 6px; padding: 0; float: none; width: auto;
	font: 500 17px/1.3 "Roboto", Helvetica, Arial, sans-serif; color: #1a1a1a; text-transform: none;
}
/* the asterisk after the label, in red, instead of before it */
body.customer-account-create .form-list label.required em,
body.customer-account-login .form-list label.required em,
body.customer-account-forgotpassword .form-list label.required em { display: none; }
body.customer-account-create .form-list label.required::after,
body.customer-account-login .form-list label.required::after,
body.customer-account-forgotpassword .form-list label.required::after { content: " *"; color: #b3261e; }

body.customer-account-create .form-list .input-text,
body.customer-account-login .form-list .input-text,
body.customer-account-forgotpassword .form-list .input-text {
	display: block; box-sizing: border-box; width: 100%; height: 50px; margin: 0; padding: 0 14px;
	border: 1px solid #8a9bb0; border-radius: 6px; background: #fff; box-shadow: none;
	font: 400 18px/1.2 "Roboto", Helvetica, Arial, sans-serif; color: #1a1a1a;
}
body.customer-account-create .form-list .input-text:focus,
body.customer-account-login .form-list .input-text:focus,
body.customer-account-forgotpassword .form-list .input-text:focus { border-color: #0b3c6b; outline: 3px solid #b9cde3; outline-offset: 0; background: #fff; }
body.customer-account-create .form-list .validation-advice,
body.customer-account-login .form-list .validation-advice,
body.customer-account-forgotpassword .form-list .validation-advice { margin: 6px 0 0; font-size: 16px; color: #b3261e; }

/* primary button: navy, as "Trova il mio ordine" */
body.customer-account-create .ioc-reg-submit,
body.customer-account-login .ioc-login-submit,
body.customer-account-forgotpassword .buttons-set .button {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 52px; margin: 0; padding: 0 34px;
	border: 0; border-radius: 8px; background: #0b3c6b; color: #fff; text-transform: none; letter-spacing: normal; box-shadow: none;
	font: 600 18px/1.2 "Roboto", Helvetica, Arial, sans-serif; cursor: pointer;
}
body.customer-account-create .ioc-reg-submit:hover,
body.customer-account-login .ioc-login-submit:hover,
body.customer-account-forgotpassword .buttons-set .button:hover { background: #082d52; color: #fff; }
body.customer-account-create .ioc-reg-submit .fa-light,
body.customer-account-login .ioc-login-submit .fa-light,
body.customer-account-login .ioc-login-create .fa-light,
body.customer-account-forgotpassword .buttons-set .button .fa-light { display: none; }

body.customer-account-create p.required,
body.customer-account-login p.required,
body.customer-account-forgotpassword p.required { margin: 4px 0 18px; font-size: 15px; color: #5f6b7a; text-align: left; }

/* ===================================================================== 2. register: form left, side panel right */
body.customer-account-create .ioc-register { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 56px; max-width: 1080px; }
body.customer-account-create .ioc-register > * { flex: 0 0 100%; }
body.customer-account-create .ioc-register > form { flex: 0 1 640px; min-width: 0; }
body.customer-account-create .ioc-register > .ioc-reg-aside[hidden] { display: block; flex: 0 0 320px; }

body.customer-account-create .ioc-register .fieldset { margin: 0 0 8px; padding: 0; border: 0; }
body.customer-account-create .ioc-register h2.legend {
	margin: 0 0 16px; padding: 0 0 8px; border-bottom: 1px solid #d3dbe4;
	font: 600 21px/1.3 "Roboto", Helvetica, Arial, sans-serif; color: #0b3c6b; text-transform: none;
}
/* Nome | Cognome and Password | Conferma side by side */
body.customer-account-create .ioc-register .customer-name,
body.customer-account-create .ioc-register .fieldset + .fieldset li.fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
body.customer-account-create .ioc-register .customer-name .field,
body.customer-account-create .ioc-register li.fields .field { float: none; width: auto; margin: 0; padding: 0; }
/* newsletter: a real-size checkbox */
body.customer-account-create .ioc-register li.control .input-box { display: flex; align-items: center; gap: 12px; }
body.customer-account-create .ioc-register li.control input.checkbox { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; accent-color: #0b3c6b; }
body.customer-account-create .ioc-register li.control label { margin: 0; font-weight: 400; cursor: pointer; }

/* buttons: "Registrati" first, "Indietro" as a plain link after it */
body.customer-account-create .ioc-reg-actions.row { display: flex; align-items: center; gap: 28px; margin: 0; }
body.customer-account-create .ioc-reg-actions.row::before,
body.customer-account-create .ioc-reg-actions.row::after { display: none; }   /* Foundation clearfix: would be a flex item + gap */
body.customer-account-create .ioc-reg-actions > .columns { float: none; width: auto; position: static; left: auto; right: auto; padding: 0; }
body.customer-account-create .ioc-reg-actions p.back-link { margin: 0; }
body.customer-account-create .ioc-reg-actions a.back-link { font-size: 17px; color: #0b3c6b; text-decoration: none; }
body.customer-account-create .ioc-reg-actions a.back-link:hover { text-decoration: underline; }
body.customer-account-create .ioc-reg-actions a.back-link .fa-light { display: none; }
body.customer-account-create .ioc-reg-actions a.back-link::before { content: "\2039\00a0"; }

body.customer-account-create .ioc-reg-aside {
	box-sizing: border-box; margin: 46px 0 0; padding: 24px 26px; border: 1px solid #d3dbe4; border-radius: 10px; background: #f5f8fb;
}
body.customer-account-create .ioc-reg-aside h2 { margin: 0 0 12px; font: 600 20px/1.3 "Roboto", Helvetica, Arial, sans-serif; color: #0b3c6b; text-transform: none; }
body.customer-account-create .ioc-reg-aside ul { margin: 0 0 18px; padding: 0; list-style: none; }
body.customer-account-create .ioc-reg-aside li {
	position: relative; margin: 0 0 10px; padding: 0 0 0 28px; list-style: none; font-size: 17px; line-height: 1.45; color: #1a1a1a;
}
body.customer-account-create .ioc-reg-aside li::before {
	content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px;
	border-left: 2.5px solid #1d7a35; border-bottom: 2.5px solid #1d7a35; transform: rotate(-45deg);
}
body.customer-account-create .ioc-reg-aside-row { margin: 0; padding: 12px 0 0; border-top: 1px solid #d3dbe4; font-size: 17px; line-height: 1.45; color: #1a1a1a; }
body.customer-account-create .ioc-reg-aside-row + .ioc-reg-aside-row { margin-top: 12px; }
body.customer-account-create .ioc-reg-aside a { color: #0b3c6b; font-weight: 600; text-decoration: underline; }

/* ===================================================================== 3. login: two calm cards */
body.customer-account-login .ioc-login { max-width: 1080px; }
body.customer-account-login .ioc-login .col2-set.row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: stretch; margin: 0; }
body.customer-account-login .ioc-login .col2-set.row::before,
body.customer-account-login .ioc-login .col2-set.row::after { display: none; }
body.customer-account-login .ioc-login .col2-set > .columns { float: none; width: auto; position: static; left: auto; right: auto; padding: 0; }
body.customer-account-login .ioc-login .registered-users { grid-column: 1; grid-row: 1; }
body.customer-account-login .ioc-login .col2-set > .new-users { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; }
body.customer-account-login .ioc-login .registered-users > .content,
body.customer-account-login .ioc-login .col2-set > .new-users {
	box-sizing: border-box; height: 100%; margin: 0; padding: 26px 28px; border: 1px solid #d3dbe4; border-radius: 10px; background: #fff; box-shadow: none;
}
body.customer-account-login .ioc-login .col2-set > .new-users { background: #f5f8fb; }
body.customer-account-login .ioc-login .new-users .content { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
body.customer-account-login .ioc-login h2 {
	margin: 0 0 12px; padding: 0 0 8px; border-bottom: 1px solid #d3dbe4;
	font: 600 22px/1.3 "Roboto", Helvetica, Arial, sans-serif; color: #0b3c6b; text-transform: none;
}
body.customer-account-login .ioc-login .content > p { margin: 0 0 16px; font-size: 17px; line-height: 1.5; color: #1a1a1a; }
body.customer-account-login .ioc-login-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin: 4px 0 8px; }
body.customer-account-login .ioc-login-forgot { font-size: 17px; color: #0b3c6b; }
/* "Crea un account": the second button, outlined */
body.customer-account-login .ioc-login .new-users .buttons-set { margin: 8px 0 0; padding: 0; border: 0; }
body.customer-account-login a.button.ioc-login-create {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 52px; margin: 0; padding: 0 30px;
	border: 2px solid #0b3c6b; border-radius: 8px; background: #fff; color: #0b3c6b; text-transform: none; box-shadow: none;
	font: 600 18px/1.2 "Roboto", Helvetica, Arial, sans-serif; text-decoration: none;
}
body.customer-account-login a.button.ioc-login-create:hover { background: #eef3f8; color: #0b3c6b; }
body.customer-account-login .ioc-login-orders { margin: 22px 0 0; }

/* ===================================================================== 4. forgot password: one narrow column */
body.customer-account-forgotpassword .col-main > form { max-width: 560px; }
body.customer-account-forgotpassword .col-main .fieldset { margin: 0; padding: 0; border: 0; }
body.customer-account-forgotpassword .col-main .fieldset h3 { margin: 0 0 8px; font: 600 21px/1.3 "Roboto", Helvetica, Arial, sans-serif; color: #0b3c6b; text-transform: none; }
body.customer-account-forgotpassword .col-main .fieldset > p { margin: 0 0 18px; font-size: 17px; line-height: 1.5; color: #1a1a1a; }
body.customer-account-forgotpassword .ioc-fp-back { margin: 18px 0 0; font-size: 17px; }

/* ===================================================================== 5. 1025-1279 px: the side panel goes under the form */
@media only screen and (min-width: 64.0625em) and (hover: hover) and (pointer: fine) and (max-width: 79.9375em) {
	body.customer-account-create .ioc-register > form { flex: 1 1 100%; max-width: 640px; }
	body.customer-account-create .ioc-register > .ioc-reg-aside[hidden] { flex: 1 1 100%; max-width: 640px; margin-top: 24px; }
}
