/* page-account.css */

/* login */
#login-popup {
	display: none;
}
.fancybox-slide #login-popup {
	margin: var(--space-6);
	padding: var(--space-8) var(--space-10);
	background: var(--color-white);
	width: 100%;
	max-width: 420px;
	border-radius: var(--radius);
	text-align: center;
	box-shadow: var(--shadow-soft);
}
#login-popup .title-small {
	margin-bottom: var(--space-8);
}
#login-popup form input {
	height: 50px;
	margin-bottom: var(--space-2);
	width: 100%;
}
#login-popup .buttons {
	margin-top: var(--space-6);
}
#login-popup .buttons .btn {
	margin-bottom: var(--space-2);
	width: 100%;
}
#login-popup .buttons .btn:last-child {
	margin-bottom: 0;
}
#login-popup .options {
	margin-top: 70px;
	font-size: .9em;
}
#login-popup .options .or {
	display: block;
	opacity: .85;
	margin: 3px 0;
}
#login-popup .options a {
	font-weight: 700;
}

@media (max-width: 767px) {
	#login-popup .options {
		margin-top: var(--space-8);
	}
}

/* general */
.gui-block.gui-account-links {
	border: none;
	padding: var(--space-6) var(--space-5);
	box-shadow: var(--shadow-card);
	border-radius: var(--radius);
}
.gui-block.gui-account-links .gui-block-title {
	font-size: 1.4em;
	margin-bottom: var(--space-5);
	border: none;
	padding: 0;
}
.gui-block.gui-account-links .gui-block-content {
	padding: 0;
}
.gui-block.gui-account-links .gui-block-linklist {
	font-size: .95em;
}
.gui-block.gui-account-links .gui-block-linklist li {
	border: none;
	border-bottom: var(--border-subtle);
}
.gui-block.gui-account-links .gui-block-linklist li:last-child {
	border: none;
}
.gui-block.gui-account-links .gui-block-linklist li a {
	font-weight: 700;
	padding: var(--space-2) 0;
	display: block;
	text-decoration: none;
}

.gui-payment-method.gui-is-selected .gui-payment-method-form {
	margin: 0 0 var(--space-2) 0 !important;
  padding: 0 var(--space-2) var(--space-2) var(--space-2);
}
.gui-payment-method.gui-is-selected .gui-payment-method-form .gui-input {
	border: 1px solid var(--color-gray-light) !important;
  border-radius: 0;
}
.gui-payment-method.gui-is-selected .gui-payment-method-form .gui-required:empty {
	display: none;
}
.gui-payment-method.gui-is-selected .gui-payment-method-form .gui-required {
	border: 1px solid var(--color-red);
  border-radius: var(--radius);
  background: var(--color-orange-error-bg);
  color: var(--color-black);
  padding: var(--space-2);
  margin: var(--space-2) 0;
  display: block;
  text-align: left;
  font-size: 12px;
  height: auto;
}

/* dashboard */
#account-dashboard input[type="text"], #account-dashboard input[type="password"] {
	border: var(--border-subtle);
	display: block;
	width: 100%;
}
#account-dashboard textarea {
	border: var(--border-subtle);
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 100%;
	min-height: 100px;
}
#account-dashboard {
	padding-bottom: calc(2 * var(--space-10));
}
#account-dashboard .order-view a:not(.btn) {
  color: var(--color-white);
	text-decoration: underline;
}
#account-dashboard .account-title {
	margin-bottom: var(--space-4);
}
#account-dashboard .account-title.small-title {
	margin-bottom: var(--space-2);
}
#account-dashboard .account-title.order-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
#account-dashboard .account-title .content {
	line-height: 1.7em;
	margin-top: var(--space-2);
}
#account-dashboard .account-title.small-title .content {
	font-size: 75%;
	margin-top: 3px;
  background: var(--color-green);
  color: var(--color-white);
  margin: var(--space-1) 0;
  padding: 2px 12px;
  text-align: center;
  border-radius: var(--radius-label);
  display: inline-block;
}
#account-dashboard .account-title .title {
	font-size: 25px;
}
#account-dashboard .account-title.small-title .title {
	font-size: 16px;
}
#account-dashboard .status-label {
	height: 30px;
	display: inline-flex;
	align-items: center;
	padding: 0 var(--space-3);
	border-radius: var(--radius);
	background: rgba(0, 0, 0, 0.07);
	color: inherit;
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all .2s linear;
}
#account-dashboard .inputs {
	margin: calc(-1 * var(--space-2));
	display: flex;
	flex-wrap: wrap;
}
#account-dashboard .inputs .clearfix {
	width: 100%;
}
#account-dashboard .inputs .input.birthday {
	width: 33.33%;
}
#account-dashboard .inputs .input {
	padding: var(--space-2);
}
#account-dashboard .inputs .input.input-100 {
	width: 100%;
}
#account-dashboard label {
	display: block;
	margin: 0;
	margin-bottom: var(--space-1);
	font-size: 12px;
	opacity: .7;
	font-weight: 700;
}
#account-dashboard .ui.selection.dropdown {
	width: 100%;
	min-width: 0;
}
#account-dashboard .block,
#account-dashboard .account-block {
	margin-bottom: var(--space-10);
}
#account-dashboard .block .button,
#account-dashboard .account-block .button {
	margin-top: var(--space-4);
}
#account-dashboard .account-block .button .btn span {
	font-size: 85%;
	margin-left: var(--space-1);
}
#account-dashboard .shadow-block {
	padding: var(--space-6) var(--space-5);
	box-shadow: var(--shadow-card);
	border-radius: var(--radius);
	margin-bottom: var(--space-2);
}
#account-dashboard .gray-block {
	background: rgba(0, 0, 0, 0.03);
	padding: var(--space-6) var(--space-5);
	border-radius: var(--radius);
}
#account-dashboard .buttons {
	margin-top: var(--space-4);
}
#account-dashboard .buttons .btn {
	margin-right: var(--space-2);
	margin-bottom: var(--space-1);
}
#account-dashboard .buttons .btn:last-child {
	margin-right: 0;
	margin-bottom: 0;
}
#account-dashboard .small-title {
	font-size: 16px;
	margin-bottom: var(--space-4);
}

#account-dashboard .tab a {
	font-size: 16px;
	padding: var(--space-3) var(--space-5);
	box-shadow: var(--shadow-card);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--space-2);
	text-decoration: none;
}
#account-dashboard .tab a:hover {
	color: var(--color-primary);
}
#account-dashboard .tab i {
	font-size: 14px;
}

#account-dashboard .ordered-products {
	padding: var(--space-5);
	border-radius: var(--radius);
	border: var(--border-subtle);
}
#account-dashboard .ordered-products .info .title {
	font-weight: 700;
	font-size: 1.05em;
}
#account-dashboard .ordered-products .info .variant {
	font-size: 90%;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1.5em;
}
#account-dashboard .ordered-products table {
	width: 100%;
}
#account-dashboard table th, #account-dashboard .ordered-totals .desc, #account-dashboard .address .line .desc {
	font-size: 12px;
	opacity: .7;
	font-weight: 700;
}
#account-dashboard table th {
	padding-bottom: var(--space-1);
}
#account-dashboard .ordered-products table td {
	padding: var(--space-2) 0;
	border-bottom: 1px dashed rgba(0, 0, 0, .04);
}
#account-dashboard .ordered-products table tr:last-child td {
	border: none;
}

#account-dashboard .ordered-totals .item {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#account-dashboard .ordered-totals .item:last-child {
	border-top: var(--border-subtle);
	padding-top: var(--space-2);
	margin-top: var(--space-2);
}
#account-dashboard .ordered-totals .item .price {
	font-weight: 700;
}
#account-dashboard .ordered-totals .item:last-child .price {
	font-weight: 700;
	font-size: 1.2em;
  color: var(--color-primary);
}
#account-dashboard .ordered-totals {
	width: 100%;
	max-width: 400px;
	margin-left: auto;
	padding: var(--space-5);
	border-radius: var(--radius);
	background: rgba(0, 0, 0, 0.03);
	margin-top: var(--space-4);
}

#account-dashboard .address {
	margin-top: var(--space-4);
}
#account-dashboard .address .line {
	display: flex;
	align-items: flex-start;
	margin-bottom: 3px;
}
#account-dashboard .address .line .desc {
	width: 70px;
}
#account-dashboard .address .line .text br:first-child {
	display: none;
}

#account-dashboard .account-back {
	text-align: right;
	margin-bottom: var(--space-2);
	text-decoration: underline;
}
#account-dashboard .ticket-box {
	background: var(--color-white);
	box-shadow: var(--shadow-card);
	border-radius: var(--radius);
}
#account-dashboard .ticket-box .top-wrap {
	padding: var(--space-3) var(--space-5);
	border-bottom: 1px solid var(--color-gray-border);
}
#account-dashboard .ticket-box .chat-box {
	padding: var(--space-5);
}
#account-dashboard .ticket-box .chat-box .chat-box-outer {
	padding: var(--space-5);
	border-radius: var(--radius);
	max-height: 500px;
	overflow-y: scroll;
}
#account-dashboard .ticket-box .chat-box .chat-box-inner {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
}
#account-dashboard .ticket-box .chat-box .chat-message {
	margin-bottom: 7px;
	position: relative;
	max-width: 80%;
}
#account-dashboard .ticket-box .chat-box .chat-message:first-child,
#account-dashboard .ticket-box .chat-box .chat-message:first-child .date {
	margin-bottom: 0;
}
#account-dashboard .ticket-box .chat-box .chat-message .message {
	background: var(--color-white);
	padding: 7px var(--space-3);
}
#account-dashboard .ticket-box .chat-box .chat-message .message .name {
	font-weight: 700;
}
#account-dashboard .ticket-box .chat-box .chat-message .message .text {
	font-size: 95%;
}
#account-dashboard .ticket-box .chat-box .chat-message .message p:last-child {
	margin: 0;
}
#account-dashboard .ticket-box .chat-box .chat-message.sent {
	margin-left: auto;
	margin-right: var(--space-2);
}
#account-dashboard .ticket-box .chat-box .chat-message.sent:after {
	content: '';
	position: absolute;
	right: calc(-1 * var(--space-2));
	top: 0;
	width: 0;
	height: 0;
	border-bottom: 10px solid transparent;
	border-radius: 0 calc(var(--radius) / 2) 0 0;
}
#account-dashboard .ticket-box .chat-box .chat-message.sent .message {
	border-radius: var(--radius) 0 var(--radius) var(--radius);
	color: var(--color-white);
}
#account-dashboard .ticket-box .chat-box .chat-message.received {
	margin-left: var(--space-2);
}
#account-dashboard .ticket-box .chat-box .chat-message.received:after {
	content: '';
	position: absolute;
	left: calc(-1 * var(--space-2));
	top: 0;
	width: 0;
	height: 0;
	border-bottom: 10px solid transparent;
	border-right: 10px solid var(--color-white);
	border-radius: calc(var(--radius) / 2) 0 0 0;
}
#account-dashboard .ticket-box .chat-box .chat-message.received .message {
	border-radius: 0 var(--radius) var(--radius) var(--radius);
}
#account-dashboard .ticket-box .chat-box .chat-message .date {
	font-size: .8em;
	margin-top: 5px;
	color: var(--color-gray-light);
	margin-bottom: var(--space-4);
}
#account-dashboard .ticket-box .chat-box .chat-message.sent .date {
	text-align: right;
}
#account-dashboard .ticket-box .reply-box {
	padding: var(--space-5);
	border-top: 1px solid var(--color-gray-border);
	display: flex;
	align-items: center;
}
#account-dashboard .ticket-box .reply-box input {
	background: rgba(0, 0, 0, 0.03);
	margin-right: var(--space-2);
	flex: 1;
}
#account-dashboard .ticket-box .reply-box .btn i {
	margin-right: 7px;
}

.account-row {
	display: flex;
	justify-content: space-between;
}
.account-row .col-left {
	min-width: 550px;
	max-width: 550px;
	margin-right: var(--space-10);
}
.account-row .col-right {
	flex-grow: 10;
}

@media (max-width: 1400px) {
	.account-row .col-left {
		min-width: 450px;
		max-width: 450px;
	}
}

@media (max-width: 1199px) {
	.account-row .col-left {
		min-width: 100%;
		max-width: 100%;
		margin: 0;
	}
	.account-row {
		display: block;
	}
}

@media (max-width: 767px) {
	#account-dashboard .shadow-block {
		padding: var(--space-5) var(--space-4);
	}
	#account-dashboard .inputs {
		margin: -7px;
	}
	#account-dashboard .inputs .input {
		padding: 7px;
	}
	#account-dashboard .tab a, #account-dashboard .small-title {
		font-size: 15px;
	}
  #account-dashboard .account-title {
		margin-bottom: var(--space-2);
	}
	#account-dashboard .block, #account-dashboard .account-block {
		margin-bottom: var(--space-6);
	}
	#account-dashboard .tab a {
		padding: 12px var(--space-4);
	}
	#account-dashboard .status-label {
		height: 25px;
		font-size: 10px;
		padding: 0 var(--space-2);
	}
	#account-dashboard .ordered-products table td {
		padding-left: var(--space-2);
	}
	#account-dashboard .ordered-products table td:first-child {
		padding-left: 0;
	}
	#account-dashboard .ordered-products {
		padding: var(--space-4);
	}
}

/* recent orders */
.recent-orders {
	margin: calc(-1 * var(--space-1));
}
.recent-orders .recent-order {
	padding: var(--space-1);
}
.recent-orders .recent-order .inner {
	display: flex;
  align-items: flex-end;
	justify-content: space-between;
	padding: var(--space-4) var(--space-5);
	border-radius: var(--radius);
	border: var(--border-subtle);
}
.recent-orders .recent-order .col {
	flex: 1;
}
.recent-orders .recent-order .col.ticket-title {
	flex: 2;
}
.recent-orders .recent-order .col:last-child {
	flex: 0;
  margin-left: var(--space-2);
}
.recent-orders .recent-order .title {
	font-size: 18px;
}
.recent-orders .recent-order .order-label {
	font-size: 12px;
	opacity: .7;
	font-weight: 700;
	margin-bottom: var(--space-1);
}
.recent-orders .recent-order .btn {
	padding: 0;
	width: 40px;
	height: 40px;
  border-radius: var(--radius-label);
}

@media (max-width: 767px) {
	.recent-orders .recent-order .order-label {
		font-size: 10px;
	}
	.recent-orders .recent-order .title {
		font-size: 13px;
	}
	.recent-orders .recent-order .btn {
		width: 35px;
		height: 35px;
	}
	.recent-orders {
		margin: calc(-1 * var(--space-1));
	}
	.recent-orders .recent-order {
		padding: var(--space-1);
	}
  .recent-orders .recent-order .col {
		padding-left: var(--space-2);
	}
	.recent-orders .recent-order .col:first-child {
		padding-left: 0;
	}
	.recent-orders .recent-order .col.ticket-title {
		flex: 1;
	}
}