/* Login / Register tab styling — Account page (tribetokes.com/account/) */

#customer_login.tt-account-tabs {
	display: flex;
	flex-direction: column;
	background: #fff;
    padding: 20px 0 !important;
    border-radius: 20px;
    margin-bottom: 20px;
	max-width: 75%;
}

#customer_login.tt-account-tabs .tt-tab-nav {
	display: flex;
	width: 100%;
}

#customer_login.tt-account-tabs .tt-tab-btn {
	flex: 1 1 50%;
	height: 52px;
	background: none;
	border: none;
	border-bottom: 1px solid #ccc;
	font-size: 1rem;
	line-height: 52px;
	color: #777777;
	font-weight: 700;
	cursor: pointer;
	padding: 0;
	margin: 0;
	text-align: center;
}

#customer_login.tt-account-tabs .tt-tab-btn[aria-selected="true"] {
	color: #000000;
	border-bottom-color: #000000;
	border-bottom-width: 3px;
}

#customer_login.tt-account-tabs .tt-tab-btn:focus-visible {
	outline: 2px solid #000000;
	outline-offset: -2px;
}

/* Override WooCommerce's default two-column layout: only one panel shows at a time */
#customer_login.tt-account-tabs .u-column1,
#customer_login.tt-account-tabs .u-column2 {
	display: none;
	width: 100% !important;
	float: none !important;
	margin: 0;
	padding-top: 1.5em;
}

#customer_login.tt-account-tabs .u-column1.tt-active,
#customer_login.tt-account-tabs .u-column2.tt-active {
	display: block;
}
body .woocommerce #tt-panel-login form.login, body .woocommerce #tt-panel-register form.register{
	margin-top: 0 !important;
	padding: 0 30px !important;
    margin-bottom: 0;
}

@media(max-width: 768px){
	#customer_login.tt-account-tabs{
		max-width: calc(100% - 40px) !important;
		margin-top: 30px;
		padding-top: 0 !important;
	}
	body .woocommerce #tt-panel-login form.login, body .woocommerce #tt-panel-register form.register{
		padding: 0 20px !important;
	}
	body .woocommerce #tt-panel-login, body .woocommerce #tt-panel-register{
		padding-top: 0 !important;
	}
}