/* Pagina CONT (login + register) — portata 1:1 din login.html / register.html */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: #f8f3ea; color: #2b2114; font-family: 'Cairo', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }

@property --glow-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes cta-grad { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes cta-glow { to { --glow-ang: 360deg; } }
@keyframes cta-shine { 0%, 52% { transform: translateX(-170%) skewX(-18deg); } 84%, 100% { transform: translateX(320%) skewX(-18deg); } }

.da-cont { display: block; width: 100%; max-width: 460px; padding: 16px 0; color: #2b2114; font-family: 'Cairo', sans-serif; margin: auto; }
.da-cont-fundal { background: linear-gradient(180deg, #f3e7d3 0%, #f8f1e4 34%, #f8f3ea 100%); min-height: 100vh; min-height: 100dvh; display: flex; }
html, body { overflow-x: clip; width: 100%; max-width: 100vw; }
/* hero: logo 35%, text 65% */
.ac-hero{ display: flex; gap: 16px; align-items: flex-start; padding: 26px 22px 22px; }
.da-cont .ac-hero small{ font-size: 11.5px; }
.da-cont .ac-hero h1{ font-size: min(27px, 7.4vw); }
.da-cont .ac-hero p{ font-size: 12.5px; }
.da-cont-fundal .ac-hero { padding: 30px 22px 18px; }
.da-cont-fundal .ac-card { margin: 0 14px; }
.da-cont .ac-drumuri a { text-decoration: none; }
.da-cont .ac-drumuri a:hover { text-decoration: underline; }
/* anunturile Woo (erori / confirmari) in stilul paginii */
.da-cont .woocommerce-messages, .da-cont .woocommerce-error, .da-cont .woocommerce-message, .da-cont .woocommerce-info {
  list-style: none; margin: 14px 14px 0; padding: 12px 16px; border-radius: 14px; background: #fff;
  border-left: 4px solid #cb8a3e; box-shadow: 0 12px 34px rgba(120, 80, 20, .08);
  font-size: 13px; line-height: 1.5; color: #4a3c22; }
.da-cont .woocommerce-error { border-left-color: #b42318; }
.da-cont .woocommerce-messages::before, .da-cont .woocommerce-error::before, .da-cont .woocommerce-message::before, .da-cont .woocommerce-info::before { display: none; }
.da-cont .woocommerce-messages li { list-style: none; }
/* ================= PAGINA CONT (login / register) — masurata din img/full/intra-in-cont.png ================= */
.da-cont{ background: transparent; }
/* — banda „CONTUL TĂU · Bine ai venit!” — */
.ac-hero{ display: flex; gap: 16px; align-items: flex-start; padding: 26px 22px 22px; }
.ac-hero small{ display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; color: #b98a4e; margin-bottom: 3px; }
.ac-hero h1, .ac-hero h2{ font-family: 'PlayfairDisplay', Georgia, serif; font-weight: 700; font-size: 27px; color: #2d2119; line-height: 1.15; }
.ac-hero p{ font-size: 12.5px; line-height: 1.55; color: #8a7355; margin-top: 5px; }
/* — cardul alb cu tabs + formular — */
.ac-card{ margin: 14px 14px 0; background: #fff; border-radius: 22px; padding: 14px;
box-shadow: 0 12px 34px rgba(120, 80, 20, .08); }
.ac-tabs{ background: #f6efe4; border-radius: 16px; padding: 5px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ac-tabs a, .ac-tabs b{ display: inline-flex; align-items: center; justify-content: center; gap: 8px;
text-align: center; text-decoration: none; font: 800 12.5px 'Cairo', sans-serif;
letter-spacing: .4px; color: #7b6d61; border-radius: 12px; padding: 14px 6px; cursor: pointer; }
.ac-tabs svg{ width: 16px; height: 16px; flex: none; }
.ac-tabs .activ{ background: #fff; color: #241b10; box-shadow: 0 3px 10px rgba(90, 60, 20, .14); }
.ac-body{ padding: 22px 10px 12px; }
.ac-body h3{ font-family: 'PlayfairDisplay', Georgia, serif; font-weight: 600; font-size: 25px; color: #2d2119; }
.ac-sub{ font-size: 13px; color: #8a7355; margin: 6px 0 20px; }
.ac-card .camp{ margin: 0 0 14px; }
.ac-card .camp label{ display: block; font-size: 12.5px; font-weight: 700; color: #4a3c22; margin-bottom: 7px; }
.ac-card .camp label i{ color: #e94b49; font-style: normal; }
.ac-card .camp input{ width: 100%; border: 1px solid #e5d9c6; border-radius: 12px; background: #fff;
padding: 13px 14px; font: 500 14px 'Cairo', sans-serif; color: #2b2114; outline: none; }
.ac-card .camp input:focus{ border-color: #c9a86a; box-shadow: 0 0 0 3px rgba(201, 168, 106, .18); }
.ac-card .camp.cu-ochi input{ padding-right: 52px; }
.ac-card .camp.cu-ochi{ position: relative; }
.ac-card .camp .ochi{ position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border: 0;
background: none; color: #b3a184; cursor: pointer; display: grid; place-items: center; border-radius: 10px; }
.ac-card .camp .ochi svg{ width: 21px; height: 21px; }
.ac-card .camp .ochi .oblon{ display: none; }
.ac-card .camp .ochi.deschis .deschis-ico{ display: none; }
.ac-card .camp .ochi.deschis .oblon{ display: block; }
.ac-row{ display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; }
.ac-reme{ display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #2b2114; cursor: pointer; }
.ac-reme input{ width: 19px; height: 19px; accent-color: #9e6738; }
.ac-link{ font-size: 13.5px; font-weight: 700; color: #aa6738; text-decoration: none; }
.ac-legal{ font-size: 13px; line-height: 1.65; color: #2b2114; margin: 2px 0 26px; }
.ac-legal a{ color: #2b2114; }
.ac-legal a, .ac-note a{ color: inherit; }
.ac-buton{ position: relative; overflow: hidden; display: flex; align-items: center; width: 100%;
border: 0; border-radius: 999px; padding: 16px 22px; cursor: pointer; color: #fff; text-align: left;
background: linear-gradient(135deg, #b66c22 0%, #cb8a3e 52%, #9b5f27 100%);
background-size: 200% 100%; animation: cta-grad 5s ease-in-out infinite;
box-shadow: 0 10px 26px rgba(155, 95, 39, .38), inset 0 0 0 1.5px rgba(235, 190, 116, .62); }
.ac-buton > *{ position: relative; z-index: 2; }
.ac-buton .t{ font-family: 'BricolageGrotesque', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .8px; }
/* AnimatedGlowBorder — dunga de lumină care curge pe contur */
.ac-buton::before{ content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px; z-index: 1;
background: conic-gradient(from var(--glow-ang), rgba(255, 231, 184, 0) 0 42%, rgba(255, 235, 190, .95) 50%,
rgba(238, 187, 105, .38) 58%, rgba(255, 231, 184, 0) 68%);
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
animation: cta-glow 3s linear infinite; }
/* buttonShimmer — luciu care trece prin buton la intervale */
.ac-buton::after{ content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; z-index: 1;
background: linear-gradient(100deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, 0) 80%);
transform: translateX(-170%) skewX(-18deg); animation: cta-shine 3.4s ease-in-out .9s infinite; }
.ac-buton:active{ transform: translateY(1px); }
.ac-buton .sageata{ margin-left: auto; font-size: 17px; }
.ac-note{ font-size: 11.5px; line-height: 1.6; color: #8a7355; text-align: center; margin: 14px 6px 0; }
.ac-note a{ text-decoration: underline; }
.ac-drumuri{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin: 15px 4px 0; }
.ac-drumuri a{ color: #9b5f27; font-size: 12.5px; font-weight: 700; text-underline-offset: 3px; }
.ac-confirmare{ min-height: 24px; margin-top: 12px; color: #6f451d; font-size: 13px; font-weight: 700; text-align: center; }
.ac-card .camp input:focus-visible{ border-color: #9b5f27; box-shadow: 0 0 0 3px rgba(201, 168, 106, .24); }
.ac-card .camp input:user-invalid{ border-color: #b42318; background: #fff8f6; }
.camp-eroare{ display: none; margin-top: 5px; color: #b42318; font-size: 11.5px; line-height: 1.4; }
.ac-card .camp input:user-invalid + .camp-eroare{ display: block; }
.ac-confirmare.vizibil{ display: block; }

/* marimea logo-ului in hero: 35% logo / 65% text — o singura regula */
.da-cont .ac-hero > a { flex: 0 0 35%; max-width: 120px; }
.da-cont .ac-logo { width: 100%; height: auto; object-fit: contain; }
.da-cont .ac-hero > div:last-child { flex: 1 1 0; min-width: 0; }
