/* ==========================================================================
   Moj nalog: prijava, registracija, zaboravljena lozinka, nalog posle prijave
   ========================================================================== */
.hc-account-head { display: block; }
.hc-account-head p { max-width: 560px; margin: 12px 0 0; font-size: 16px; line-height: 25px; color: var(--hc-ink-2); }

#top.hc #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: auto; margin: 0; }
#top.hc #customer_login .u-column1, #top.hc #customer_login .u-column2 { width: auto; float: none; margin: 0; padding: 40px; border: 0; border-radius: 20px; background: var(--hc-soft); }
#top.hc #customer_login h2, #top.hc.woocommerce-account .woocommerce h2 { margin: 0 0 24px; font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; text-transform: none; }

#top.hc .woocommerce-form-login, #top.hc .woocommerce-form-register, #top.hc .woocommerce-ResetPassword, #top.hc .woocommerce-EditAccountForm { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
#top.hc.woocommerce-account .form-row { width: auto; float: none; margin: 0 0 16px; padding: 0; }
#top.hc.woocommerce-account .form-row label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--hc-ink-2); }
#top.hc.woocommerce-account .form-row label .required { color: var(--hc-red); text-decoration: none; border: 0; }
#top.hc.woocommerce-account .form-row input.input-text {
	width: 100%; height: 52px; margin: 0; padding: 0 16px; border: 1px solid var(--hc-line); border-radius: 10px;
	background: var(--hc-white); font: 400 15px/1 var(--hc-font); color: var(--hc-ink); box-shadow: none; box-sizing: border-box;
}
#top.hc.woocommerce-account .form-row input.input-text:focus { border: 1.5px solid var(--hc-ink); outline: none; }

/* Lozinka: dugme za prikaz unutar polja */
#top.hc.woocommerce-account .password-input { position: relative; display: block; width: 100%; }
#top.hc.woocommerce-account .password-input input.input-text { padding-right: 52px; }
#top.hc.woocommerce-account .show-password-input {
	position: absolute; top: 50%; right: 8px; width: 36px; height: 36px; min-height: 0; margin: -18px 0 0; padding: 0; border: 0; border-radius: 8px;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e6a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%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 / 20px no-repeat;
	font-size: 0; color: transparent; cursor: pointer; box-shadow: none;
}
#top.hc.woocommerce-account .show-password-input::after { display: none; }
#top.hc.woocommerce-account .show-password-input.display-password { background-color: var(--hc-soft); }

/* Remember me + dugme + zaboravljena lozinka */
#top.hc .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) { display: flex; flex-direction: column; align-items: stretch; gap: 20px; margin-top: 8px; }
#top.hc .woocommerce-form-login__rememberme { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; font-size: 14px !important; font-weight: 400 !important; color: var(--hc-ink) !important; cursor: pointer; }
#top.hc .woocommerce-form-login__rememberme input { width: 18px; height: 18px; margin: 0; accent-color: var(--hc-ink); }
#top.hc .woocommerce-form-login__submit, #top.hc .woocommerce-form-register__submit, #top.hc .woocommerce-ResetPassword .button, #top.hc .woocommerce-EditAccountForm .button {
	width: 100%; min-height: 56px; margin: 0; float: none; border-radius: 999px; font-size: 13px;
}
#top.hc .woocommerce-LostPassword { margin: 16px 0 0; text-align: center; font-size: 14px; }
#top.hc .woocommerce-LostPassword a, #top.hc #customer_login a { text-decoration: underline; text-underline-offset: 3px; }
#top.hc .woocommerce-form-register > p:not(.form-row), #top.hc .woocommerce-ResetPassword > p:first-child { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--hc-ink-2); }
#top.hc .woocommerce-ResetPassword { max-width: 520px; padding: 40px; border-radius: 20px; background: var(--hc-soft); }

/* Nalog posle prijave */
#top.hc.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
#top.hc.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .hc-account-head { grid-column: 1 / -1; padding-bottom: 0; }
#top.hc .woocommerce-MyAccount-navigation { width: auto; float: none; margin: 0; }
#top.hc .woocommerce-MyAccount-navigation ul { margin: 0; padding: 8px; border: 0; border-radius: 16px; background: var(--hc-soft); list-style: none; }
#top.hc .woocommerce-MyAccount-navigation li { margin: 0; border: 0; }
#top.hc .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--hc-ink); background: none; }
#top.hc .woocommerce-MyAccount-navigation li a:hover { background: var(--hc-white); }
#top.hc .woocommerce-MyAccount-navigation li.is-active a { background: var(--hc-ink); color: var(--hc-white); }
#top.hc .woocommerce-MyAccount-content { width: auto; float: none; margin: 0; font-size: 15px; line-height: 1.6; color: var(--hc-ink-2); }
#top.hc .woocommerce-MyAccount-content a:not(.button) { color: var(--hc-ink); text-decoration: underline; text-underline-offset: 3px; }
#top.hc .woocommerce-MyAccount-content table.shop_table { width: 100%; border: 1px solid var(--hc-line); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
#top.hc .woocommerce-MyAccount-content table.shop_table th, #top.hc .woocommerce-MyAccount-content table.shop_table td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--hc-line); background: none; font-size: 14px; text-align: left; }
#top.hc .woocommerce-MyAccount-content table.shop_table th { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-mute); }
#top.hc .woocommerce-MyAccount-content .button { min-height: 40px; padding: 0 18px; font-size: 12px; text-decoration: none; }
#top.hc .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
#top.hc .woocommerce-Addresses .woocommerce-Address { width: auto; float: none; padding: 24px; border-radius: 16px; background: var(--hc-soft); }

@media (max-width: 900px) {
	#top.hc #customer_login, #top.hc.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation), #top.hc .woocommerce-Addresses { grid-template-columns: 1fr; }
	#top.hc #customer_login .u-column1, #top.hc #customer_login .u-column2, #top.hc .woocommerce-ResetPassword { padding: 28px 20px; }
}
#top.hc .woocommerce-form-login .woocommerce-LostPassword { margin-top: 20px; }

/* Meni naloga bez okvira i linija */
#top.hc .woocommerce-MyAccount-navigation, #top.hc .woocommerce-MyAccount-navigation ul { border: 0 !important; box-shadow: none; }
#top.hc .woocommerce-MyAccount-navigation li, #top.hc .woocommerce-MyAccount-navigation li a { border: 0 !important; text-align: left; }
#top.hc.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .hc-account-head { padding-top: 48px; }

/* Kartice adresa */
#top.hc .woocommerce-Addresses .woocommerce-Address { border: 0 !important; }
#top.hc .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
#top.hc .woocommerce-Address-title h2 { margin: 0 !important; font-size: 20px !important; }
#top.hc .woocommerce-Address-title .edit { float: none; font-size: 14px; }
#top.hc .woocommerce-Address address { margin: 0; font-style: normal; font-size: 14px; line-height: 1.6; }

/* "Lost your password?" malo podignut i uvučen, kao do sada */
.woocommerce .login .lost_password { margin: 0; position: relative; top: -1em; left: 5px; font-size: .92em; }
