/*
 Theme-neutral minimal styles for Templines Auth for WooCommerce
 All classes are prefixed with tlaw-
 Author: Templines (https://templines.com/)
*/

.tlaw-form {
    max-width: 520px;
    margin: 2rem auto;
    padding: 5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.tlaw-form__title {
    margin: 0 0 1rem;
    font-size: 2.175rem;
    line-height: 1.2;
    padding-bottom: 10px;
}
.tlaw-form__text {
	margin: 0 0 1rem;
	color: #4b5563;
}

.tlaw-form__body {
	display: grid;
	gap: 0.75rem;
}

.tlaw-form__row {
	display: grid;
	gap: 0.375rem;
}

.tlaw-form__row--inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    padding-top: 10px;
}

.tlaw-form__label {
    font-weight: 600;
    font-size: 1.5rem;
}

.tlaw-input {
    width: 100%;
    padding: 0.925rem 0.95rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1.2rem;
}

.tlaw-input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.tlaw-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1rem;
	border-radius: 6px;
	border: 1px solid transparent;
	cursor: pointer;
	font-weight: 600;
}

.tlaw-button--primary {
	background: #2563eb;
	color: #fff;
}

.tlaw-button--primary:hover {
	background: #1d4ed8;
    color: #fff;
}

.tlaw-link {
	color: #2563eb;
	text-decoration: none;
}

.tlaw-link:hover {
	text-decoration: underline;
}

.tlaw-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.tlaw-flash {
	margin: 1rem auto;
	max-width: 520px;
	display: grid;
	gap: 0.5rem;
}

.tlaw-flash__item {
	padding: 0.75rem 1rem;
	border-radius: 6px;
	font-size: 0.95rem;
}

.tlaw-flash__item--success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.tlaw-flash__item--error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.tlaw-flash__item--info {
	background: #eff6ff;
	color: #1e3a8a;
	border: 1px solid #bfdbfe;
}

.tlaw-form__footer{
    padding-top: 10px;
}

.tlaw_autologin-box {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.tlaw-form__row{
     width: 100%; 
}

.tlaw_autologin-box div[role='button']{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

.tlaw-header-account .tlaw-header-account__link{
    display: flex;
    gap: 10px;

}

.tlaw-myacc-nav__list{
    list-style: none;
    margin: 0;
    padding: 0;
}


.tlaw-myacc-nav__list li{
    margin: 0;
    padding: 0;
    width: 100%;
}

.tlaw-myacc-nav__list li a{
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    align-items: center;
}


.tlaw-myacc-nav__list li svg{
    width: 20px;
    height: 20px;
}

/* ------------------------------------------
   WooCommerce My Account: Form styling scope
   We scope everything under .tlaw-myacc-content
   so it does not leak into theme styles.
------------------------------------------- */
.tlaw-myacc-content fieldset{
    margin: 1.25rem 0 2rem;
    padding: 2.25rem 3.25rem 3rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: transparent;
}

.tlaw-myacc-content legend {
    padding: 10px;
    font-weight: 600;
    font-size: 24px;
    display: block;
    border: 0;
    width: fit-content;
    background: transparent;
}

.tlaw-myacc-content .form-row,
.tlaw-myacc-content .woocommerce-form-row{
    margin: 0 0 1rem;
}

.tlaw-myacc-content .form-row label,
.tlaw-myacc-content .woocommerce-form-row label{
    display: block;
    margin: 1.375rem 0 .375rem .375rem;
    font-weight: 600;
    color: #111827;
    font-size: 17px;
}

.tlaw-myacc-content input[type="text"],
.tlaw-myacc-content input[type="email"],
.tlaw-myacc-content input[type="password"],
.tlaw-myacc-content input[type="tel"],
.tlaw-myacc-content input[type="number"],
.tlaw-myacc-content select,
.tlaw-myacc-content textarea,
.tlaw-myacc-content .woocommerce-Input,
.tlaw-myacc-content .input-text{
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    background: transparent;
    color: #111827;
}

.tlaw-myacc-content input[type="text"]:focus,
.tlaw-myacc-content input[type="email"]:focus,
.tlaw-myacc-content input[type="password"]:focus,
.tlaw-myacc-content input[type="tel"]:focus,
.tlaw-myacc-content input[type="number"]:focus,
.tlaw-myacc-content select:focus,
.tlaw-myacc-content textarea:focus,
.tlaw-myacc-content .woocommerce-Input:focus,
.tlaw-myacc-content .input-text:focus{
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.tlaw-myacc-content .woocommerce-password-strength{
    margin-top: .375rem;
    font-size: .875rem;
}

.tlaw-myacc-content .clear{
    display: none;
}

.tlaw-myacc-content .button,
.tlaw-myacc-content button[type="submit"],
.tlaw-myacc-content .woocommerce-Button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-radius: 6px;
    border: 1px solid transparent;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}


.tlaw-myacc-content table .button{
    width: 100%;
}

.tlaw-myacc-content .button:hover,
.tlaw-myacc-content button[type="submit"]:hover,
.tlaw-myacc-content .woocommerce-Button:hover{
    background: #1d4ed8;
    color: #fff;
}

.tlaw-myacc-content .woocommerce-message,
.tlaw-myacc-content .woocommerce-error,
.tlaw-myacc-content .woocommerce-info{
    margin: 0 0 1rem;
}

.tlaw-myacc-content{
    font-size: 17px;
    color: #222;
    line-height: 1.7;
}

.tlaw-button-wrap svg{
    width: 20px;
    height: 20px;
}

.tlaw-button{
    display: flex;
    gap: 5px;
    align-items: center;
}


html .select2-container .select2-selection--single {
    height: 48px;
}

html .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
    padding-left: 15px;
}

html .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    position: absolute;
    top: 0px;
    right: 6px;
    width: 20px;
}




/* My Account Navigation Styles - Templines (https://templines.com/) */
.tlaw-myacc-nav__list{
    list-style: none;
    margin: 0;
    padding: 0;
}
.tlaw-myacc-nav__list li{
    margin: 0;
    padding: 0;
}
.tlaw-myacc-nav__list li a{
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    align-items: center;
}
.tlaw-myacc-nav__list li svg{
    width: 25px;
    height: 25px;
}


/* My Account Forms Styles - scoped under .tlaw-myacc-content - Templines (https://templines.com/) */
.tlaw-myacc-content fieldset{
    margin: 1.25rem 0 2rem;
    padding: 2.25rem 3.25rem 3rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}
.tlaw-myacc-content legend {
    padding: 10px;
    font-weight: 700;
    font-size: 2.125rem;
    display: block;
    border: 0;
    width: fit-content;
}
.tlaw-myacc-content .form-row,
.tlaw-myacc-content .woocommerce-form-row{ margin: 0 0 1rem; }
.tlaw-myacc-content .form-row label,
.tlaw-myacc-content .woocommerce-form-row label{
    display: block;
    margin: 1.375rem 0 0 .375rem;
    font-weight: 600;
    color: #111827;
    font-size: 17px;
}
.tlaw-myacc-content input[type="text"],
.tlaw-myacc-content input[type="email"],
.tlaw-myacc-content input[type="password"],
.tlaw-myacc-content input[type="tel"],
.tlaw-myacc-content input[type="number"],
.tlaw-myacc-content select,
.tlaw-myacc-content textarea,
.tlaw-myacc-content .woocommerce-Input,
.tlaw-myacc-content .input-text{
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    color: #111827;
}
.tlaw-myacc-content input[type="text"]:focus,
.tlaw-myacc-content input[type="email"]:focus,
.tlaw-myacc-content input[type="password"]:focus,
.tlaw-myacc-content input[type="tel"]:focus,
.tlaw-myacc-content input[type="number"]:focus,
.tlaw-myacc-content select:focus,
.tlaw-myacc-content textarea:focus,
.tlaw-myacc-content .woocommerce-Input:focus,
.tlaw-myacc-content .input-text:focus{
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.tlaw-myacc-content .woocommerce-password-strength{ margin-top:.375rem; font-size:.875rem; }
.tlaw-myacc-content .clear{ display:none; }
.tlaw-myacc-content .button,
.tlaw-myacc-content button[type="submit"],
.tlaw-myacc-content .woocommerce-Button{
    display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
    padding:.65rem 1rem; border-radius:6px; border:1px solid transparent;
    background:#2563eb; color:#fff; font-weight:600; cursor:pointer;
}
.tlaw-myacc-content .button:hover,
.tlaw-myacc-content button[type="submit"]:hover,
.tlaw-myacc-content .woocommerce-Button:hover{ background:#1d4ed8; }
.tlaw-myacc-content .woocommerce-message,
.tlaw-myacc-content .woocommerce-error,
.tlaw-myacc-content .woocommerce-info{ margin:0 0 1rem; }
.tlaw-myacc-content{ font-size:15px; color:#222; }



body .tlaw-myacc-content  .woocommerce-column__title,
body .tlaw-myacc-content  .woocommerce-order-details__title{
    padding-bottom: 15px;
    font-size: 24px;
    margin: 0;
}

body .tlaw-myacc-content  table.shop_table .product-name {
    padding-top: 0;
    padding: 0;
}


.woocommerce-customer-details address{
    line-height: 1.7;
}


body .tlaw-myacc-content table td,
body .tlaw-myacc-content table th{
    border: 1px solid #ddd;
    padding: 15px !important;
}


body .tlaw-myacc-content .woocommerce-customer-details address {
    line-height: 1.7;
    background: #fcf8e3;
    padding: 20px;
}


body .tlaw-myacc-content table .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 5px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 12px;
}

/* Auth Forms Styles (Login/Register/Lost) - Templines (https://templines.com/) */
.tlaw-form {
    max-width: 520px;
    margin: 2rem auto;
    padding: 5.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}
.tlaw-form__title { margin: 0 0 1rem; font-size: 2.175rem; line-height: 1.2; padding-bottom: 10px; }
.tlaw-form__text { margin: 0 0 1rem; color: #4b5563; }
.tlaw-form__body { display: grid; gap: 0.75rem; }
.tlaw-form__row { display: grid; gap: 0.375rem; width: 100%; }
.tlaw-form__row--inline { display:flex; justify-content: space-between; align-items:center; padding-bottom:10px; padding-top:10px; }
.tlaw-form__label { font-weight:600; font-size:1.5rem; }
.tlaw-input { width:100%; padding:0.925rem 0.95rem; border:1px solid #d1d5db; border-radius:6px; font-size:1.2rem; }
.tlaw-input:focus { outline:none; border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,.15); }
.tlaw-button { display:inline-flex; align-items:center; justify-content:center; padding:0.6rem 1rem; border-radius:6px; border:1px solid transparent; cursor:pointer; font-weight:600; }
.tlaw-button--primary { background:#2563eb; color:#fff; }
.tlaw-button--primary:hover { background:#1d4ed8; }
.tlaw-link { color:#2563eb; text-decoration:none; }
.tlaw-link:hover { text-decoration:underline; }
.tlaw-checkbox { display:inline-flex; align-items:center; gap:0.4rem; }
.tlaw-flash { margin:1rem auto; max-width:520px; display:grid; gap:0.5rem; }
.tlaw-flash__item { padding:0.75rem 1rem; border-radius:6px; font-size:0.95rem; }
.tlaw-flash__item--success { background:#ecfdf5; color:#065f46; border:1px solid #a7f3d0; }
.tlaw-flash__item--error { background:#fef2f2; color:#991b1b; border:1px solid #fecaca; }
.tlaw-flash__item--info { background:#eff6ff; color:#1e3a8a; border:1px solid #bfdbfe; }
.tlaw-form__footer{ padding-top:10px; }
.tlaw_autologin-box { display:flex; flex-direction:row; width:100%; }
.tlaw_autologin-box div[role='button']{ width:100% !important; max-width:100% !important; min-width:100% !important; }
