.mg-account-page,.mg-inner-page{max-width:1180px;margin:0 auto;padding:28px 5% 65px;min-height:65vh}.mg-account-heading{margin:0 0 28px;padding:25px 0;border-top:1px solid #eee}.mg-account-heading>span,.mg-account-welcome>span{font-size:11px;font-weight:800;letter-spacing:2px;color:#508d20}.mg-account-heading h1{font-size:clamp(38px,6vw,64px);line-height:1.05;letter-spacing:-.06em;margin:10px 0;font-weight:900}.mg-account-heading p{margin:0;color:#555}.mg-account-page .woocommerce{display:flow-root}.mg-account-page .woocommerce #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.mg-account-page .woocommerce #customer_login>div{width:auto;float:none}.mg-account-page .woocommerce h2{font-size:24px;letter-spacing:-.7px}.mg-account-page .woocommerce form.login,.mg-account-page .woocommerce form.register,.mg-account-page .woocommerce-MyAccount-content{background:#fff;border:1px solid #e0e3df;border-radius:17px;padding:24px;box-shadow:0 8px 28px #11111108}.mg-account-page .woocommerce form .form-row input.input-text,.mg-account-page .woocommerce input[type=email],.mg-account-page .woocommerce input[type=password],.mg-account-page .woocommerce input[type=text],.mg-account-page .woocommerce input[type=tel]{min-height:46px;border:1px solid #d8dcd7;border-radius:9px;padding:10px 13px;background:#fafafa;font:inherit}.mg-account-page .woocommerce button.button,.mg-account-page .woocommerce a.button{background:#83cf2e;color:#111;border:0;border-radius:10px;padding:13px 20px;font-weight:800}.mg-account-page .woocommerce button.button:hover,.mg-account-page .woocommerce a.button:hover{background:#a0e631;color:#111}.mg-account-page .woocommerce-MyAccount-navigation{width:25%}.mg-account-page .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}.mg-account-page .woocommerce-MyAccount-navigation li a{display:block;border-radius:9px;background:#f5f6f5;padding:13px 15px;font-weight:650;font-size:14px}.mg-account-page .woocommerce-MyAccount-navigation li.is-active a{background:#83cf2e;color:#111;font-weight:800}.mg-account-page .woocommerce-MyAccount-content{width:72%}.mg-account-welcome{border-radius:13px;background:#f4f7f1;padding:22px;margin:20px 0}.mg-account-welcome h2{margin:7px 0 15px}.mg-account-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mg-account-links a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px;border:1px solid #e2e5e1;border-radius:10px;font-weight:700}.mg-account-links a:hover{border-color:#71bf44}.mg-account-section h2{margin-top:0}.mg-empty{text-align:center;background:#f6f8f5;border-radius:12px;padding:30px 15px}.mg-empty-mark{font-size:36px;font-weight:900;font-style:italic;color:#71bf44}.mg-empty h3{margin:6px 0}.mg-empty p,.mg-account-preview{font-size:13px;color:#555}.mg-reservation{padding:16px;border:1px solid #e2e5e1;border-radius:12px;margin:12px 0}.mg-reservation>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.mg-reservation h3{margin:0}.mg-reservation small,.mg-reservation p{color:#555;font-size:13px}.mg-res-state{font-weight:700;font-size:12px;color:#477a21}.mg-page-nav{display:flex;justify-content:space-between}.mg-page-nav a{font-weight:700}.mg-account-page .woocommerce-error,.mg-account-page .woocommerce-info,.mg-account-page .woocommerce-message{border-radius:8px}.mg-account-page .woocommerce form .form-row label{font-weight:650;font-size:14px}
@media(max-width:760px){.mg-account-page{padding:12px 16px 40px}.mg-account-heading{padding:18px 0;margin-bottom:10px}.mg-account-page .woocommerce #customer_login{grid-template-columns:1fr;gap:0}.mg-account-page .woocommerce-MyAccount-navigation,.mg-account-page .woocommerce-MyAccount-content{float:none;width:100%}.mg-account-page .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr 1fr;margin:0 0 15px}.mg-account-page .woocommerce-MyAccount-navigation li a{font-size:12px;padding:10px}.mg-account-page .woocommerce-MyAccount-content{padding:16px}.mg-account-links{grid-template-columns:1fr}.mg-account-page .woocommerce form.login,.mg-account-page .woocommerce form.register{padding:18px;margin:10px 0 20px}}
.mg-pin-card{display:grid;gap:7px;text-align:center;background:#eef5e8;border:1px solid #b8dca2;border-radius:12px;padding:16px;margin:12px 0}.mg-pin-card strong{font:800 30px/1.2 monospace;letter-spacing:.18em;color:#244d13}.mg-pin-card small{color:#425b36}

.mg-auth-tabs{display:flex;gap:6px;background:#f0f2ef;padding:5px;border-radius:12px;margin:0 auto 18px;max-width:680px}.mg-auth-tabs a{flex:1;text-align:center;padding:12px;border-radius:9px;font-weight:800}.mg-auth-tabs a.is-active{background:#83cf2e;color:#111}
.mg-account-page .woocommerce #customer_login{max-width:680px;margin:auto}.mg-auth-login .mg-account-page .woocommerce #customer_login,.mg-auth-register .mg-account-page .woocommerce #customer_login{grid-template-columns:minmax(0,1fr)}
.mg-auth-login #customer_login .u-column2,.mg-auth-register #customer_login .u-column1{display:none!important}.mg-auth-login #customer_login .u-column1,.mg-auth-register #customer_login .u-column2{width:100%;float:none}
.mg-reg-title{font-size:18px;margin:8px 0 14px}.mg-reg-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.mg-reg-fields .form-row{margin:0 0 8px}.mg-reg-fields label{display:block}.mg-reg-fields input{width:100%}.mg-auth-draft{max-width:680px;margin:0 auto 20px;background:#eff5e8;border:1px solid #bad8a8;border-radius:12px;padding:16px}.mg-auth-draft p{margin:6px 0}.mg-auth-draft small{color:#555}
@media(max-width:760px){.mg-reg-fields{grid-template-columns:1fr}.mg-auth-tabs a{font-size:14px}.mg-reg-fields .form-row{margin:0 0 10px}}

/* PIN display: vertically stacked, readable on narrow mobile screens. */
.mg-pin-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;min-width:0}
.mg-pin-card strong{display:block;max-width:100%;font-size:clamp(23px,7vw,36px);letter-spacing:.10em;line-height:1.25;overflow-wrap:anywhere}
.mg-pin-card small{display:block;width:100%;font-size:14px;line-height:1.5;overflow-wrap:normal}

.mg-cancel-form{margin-top:14px;padding-top:12px;border-top:1px solid #eee}.mg-cancel-form p{margin:0 0 10px}.mg-cancel-button{background:#c62828!important;color:white!important;border:0;border-radius:9px;padding:11px 18px;font-weight:800;cursor:pointer}.mg-cancel-button:hover{background:#9d1b1b!important}.mg-cancel-notice{padding:13px;background:#edf7e9;border-radius:9px}.mg-cancel-closed{font-size:13px;color:#666}

.mg-staff-book form{display:grid;gap:15px;max-width:540px}.mg-staff-book label{display:grid;gap:6px;font-weight:700}.mg-staff-book input,.mg-staff-book select{padding:12px;border:1px solid #d5ded0;border-radius:9px;width:100%;max-width:100%}.mg-staff-book button:disabled{opacity:.45;cursor:not-allowed}.mg-staff-book p{color:#555}

/* Booking countdown beside the account tagline */
.mg-account-heading .mg-heading-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.mg-account-heading .mg-heading-bottom>p{margin:0}.mg-account-timer{margin-left:auto;min-width:194px;padding:10px 16px;background:#f0f7e8;border:1px solid #cfe7b6;border-radius:13px;text-align:center;display:flex;flex-direction:column;gap:4px}.mg-timer-label{font-size:11px;font-weight:750;letter-spacing:.025em;color:#3e6326}.mg-timer-digits{font-variant-numeric:tabular-nums;font-size:clamp(23px,4vw,31px);line-height:1.15;letter-spacing:.035em;color:#18260f;font-weight:900}@media(max-width:760px){.mg-account-heading .mg-heading-bottom{flex-wrap:nowrap;align-items:center}.mg-account-heading .mg-heading-bottom>p{font-size:13px;max-width:46%}.mg-account-timer{min-width:0;max-width:58%;padding:9px 11px}.mg-timer-label{font-size:10px}.mg-timer-digits{font-size:clamp(19px,5vw,26px)}}

/* Steady countdown: no blinking or animated color transitions. */
.mg-account-timer,.mg-account-timer *{animation:none!important;transition:none!important}.mg-account-timer.mg-timer-warning{background:#fde8e8!important;border-color:#e6a2a2!important}.mg-account-timer.mg-timer-warning .mg-timer-label{color:#a31c1c!important}.mg-account-timer.mg-timer-warning .mg-timer-digits{color:#b91c1c!important}

/* Keep customer dashboard buttons consistent with the main site. */
.mg-account-page button,.mg-account-page input[type="submit"],.mg-account-page .button,.mg-account-page .woocommerce-MyAccount-navigation a{border-radius:1px!important}

/* Squared-off account dashboard panels and booking details. */
body.woocommerce-account .mg-account-timer,body.woocommerce-account .woocommerce-MyAccount-content,body.woocommerce-account .woocommerce-MyAccount-content .mg-booking-card,body.woocommerce-account .woocommerce-MyAccount-content .mg-booking,body.woocommerce-account .woocommerce-MyAccount-content .mg-pin,body.woocommerce-account .woocommerce-MyAccount-content .mg-pin-box,body.woocommerce-account .woocommerce-MyAccount-content article,body.woocommerce-account .woocommerce-MyAccount-content section,body.woocommerce-account .woocommerce-MyAccount-content .mg-card,body.woocommerce-account .woocommerce-MyAccount-content .mg-cancel-notice,body.woocommerce-account .woocommerce-MyAccount-content .mg-account-panel{border-radius:2px!important}
/* Nested boxes, including PIN panels and order details. */
body.woocommerce-account .woocommerce-MyAccount-content div[class*="card"],body.woocommerce-account .woocommerce-MyAccount-content div[class*="pin"],body.woocommerce-account .woocommerce-MyAccount-content div[class*="box"],body.woocommerce-account .woocommerce-MyAccount-content div[class*="panel"],body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info{border-radius:2px!important}

/* Financial documents: override the horizontal booking-header flex layout. */
.mg-account-page .mg-reservation>.mg-fin-docs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:8px;align-items:stretch;justify-content:stretch;width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin:14px 0}
.mg-account-page .mg-reservation>.mg-fin-docs>p{grid-column:1/-1;margin:0 0 2px;min-width:0;overflow-wrap:anywhere}
.mg-account-page .woocommerce .mg-fin-docs>a.button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;max-width:100%;width:100%;min-height:44px;padding:10px 12px;margin:0!important;text-align:center;white-space:normal;overflow-wrap:anywhere;line-height:1.25;font-size:14px}
@media(max-width:760px){.mg-account-page .mg-reservation>.mg-fin-docs{grid-template-columns:minmax(0,1fr)}}
