/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/* Barra global: asesor de ventas (hook displayBanner) */
.referall-advisor-bar {
	background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
	color: #fff;
	box-shadow: 0 2px 8px rgba(26, 35, 126, 0.25);
	font-size: 0.9rem;
	line-height: 1.4;
}

.referall-advisor-bar__inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	padding: 0.65rem 0;
	min-height: 52px;
}

.referall-advisor-bar__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	flex-shrink: 0;
}

.referall-icon-svg {
	display: block;
	flex-shrink: 0;
}

.referall-icon-svg--banner {
	width: 24px;
	height: 24px;
	color: #fff;
}

.referall-icon-svg--account {
	width: 28px;
	height: 28px;
	color: #3949ab;
}

.referall-icon-svg--inline {
	display: inline-block;
	vertical-align: middle;
	margin-right: 0.35rem;
	width: 22px;
	height: 22px;
	color: inherit;
	opacity: 0.85;
}

.referall-account-advisor__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.referall-advisor-bar__text {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.75rem;
	flex: 1 1 200px;
}

.referall-advisor-bar__label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.85;
	width: 100%;
}

.referall-advisor-bar__name {
	font-weight: 600;
	font-size: 1rem;
}

.referall-advisor-bar__email {
	color: #e8eaf6;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.referall-advisor-bar__email:hover {
	color: #fff;
}

.referall-advisor-bar__code {
	margin-left: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.15rem;
}

.referall-advisor-bar__code-label {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.8;
}

.referall-advisor-bar__code-value {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	font-size: 0.85rem;
	font-family: ui-monospace, monospace;
}

@media (max-width: 575px) {
	.referall-advisor-bar__code {
		margin-left: 0;
		align-items: flex-start;
		width: 100%;
	}
}

/* Mi cuenta: tarjeta asesor */
.referall-account-advisor {
	margin-bottom: 1.25rem;
}

.referall-account-advisor__card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
	background: linear-gradient(180deg, #fafbff 0%, #fff 60%);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.referall-account-advisor__head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.referall-account-advisor__title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #1a237e;
}

.referall-account-advisor__name {
	margin: 0 0 0.5rem 0;
	font-size: 1rem;
}

.referall-account-advisor__row {
	margin: 0.35rem 0;
	font-size: 0.95rem;
}

.referall-account-advisor__k {
	display: inline-block;
	min-width: 8rem;
	color: #666;
	margin-right: 0.35rem;
}

.referall-account-advisor__code {
	background: #ede7f6;
	color: #311b92;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	font-size: 0.9rem;
}
