/*
 * Big Store's - Login Customizado
 * Layout estilo marketplace (Big Store's) para páginas de login/registro.
 */

:root{
  --bs-blue:#0B5CFF;
  --bs-yellow:#FFC107;
  --bs-red:#E30613;
  --bs-dark:#071633;
  --bs-dark2:#0A1E44;
}



/* Reset básico apenas para a tela de login */
.be-login-wrapper *, .be-login-wrapper *::before, .be-login-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.be-login-page,
html.be-login-page {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f2f2f2 !important;
    color: #333;
}

/* Wrapper geral */
.be-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px);
    padding: 20px;
    background-color: #f2f2f2;
}

/* Cartão central */
.be-login-card {
    display: flex;
    width: 100%;
    max-width: 980px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    min-height: 540px;
}

/* Lado esquerdo (Big Store's) */
.be-promo-section {
    flex: 1;
    /* Fundo com cores da marca (azul + vermelho + amarelo) */
    background: radial-gradient(circle at 18% 12%, rgba(255,193,7,0.22) 0%, transparent 46%),
                radial-gradient(circle at 80% 30%, rgba(227,6,19,0.16) 0%, transparent 55%),
                linear-gradient(135deg, var(--bs-dark) 0%, var(--bs-blue) 52%, var(--bs-dark2) 100%) !important;
    padding: 40px 36px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Faixa superior (marca) */
.be-promo-section::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:6px;
    background: linear-gradient(90deg, var(--bs-red), var(--bs-yellow), var(--bs-blue));
    z-index:2;
}

.be-brand {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.be-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--bs-yellow);
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 1000;
    letter-spacing: -0.5px;
}



/* Versão "B" com estrela (SVG) */
.be-brand-mark--logo{
    background: transparent !important;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.be-brand-mark--logo svg{ display:block; width:34px; height:34px; }
.be-brand-text {
    text-transform: lowercase;
    font-weight: 900;
    opacity: 0.95;
}

.be-promo-content h2 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 700;
    color: #ffffff; /* garante branco mesmo com estilos do tema */
    text-shadow: 0 6px 22px rgba(0,0,0,0.35);
}

.be-promo-content p {
    font-size: 15px;
    opacity: 0.92;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Grade de categorias */
.be-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.be-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    padding: 14px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.16);
    transition: all 0.25s ease;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
}

.be-cat-item.highlight {
    background: rgba(245,179,1,0.16);
    border-color: rgba(245,179,1,0.75);
}

.be-cat-item:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}


.be-cat-media {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 10px 22px rgba(0,0,0,0.22);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.be-cat-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(245,179,1,0.28), transparent 55%),
                linear-gradient(180deg, rgba(0,0,0,0.20), rgba(0,0,0,0.42));
    pointer-events: none;
}

.be-cat-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.be-cat-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.be-cat-item span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.be-overlay-pattern {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Lado direito (formulário) */
.be-form-section {
    flex: 1;
    padding: 46px 42px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.be-form-header {
    margin-bottom: 26px;
}

.be-form-header h1 {
    font-size: 26px;
    color: #111111;
    font-weight: 700;
    margin-bottom: 4px;
}

.be-form-header p {
    color: #666666;
    font-size: 14px;
}

/* Inputs */
.be-input-group {
    margin-bottom: 18px;
}

.be-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444444;
    margin-bottom: 6px;
}

.be-input-group input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid #d4d4d4;
    font-size: 15px;
    color: #222222;
    background: #f9fafb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.be-input-group input:focus {
    border-color: var(--bs-blue);
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(11,92,255,0.22);
}

/* Ações: lembrar + esqueci senha */
.be-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 0 22px;
    font-size: 13px;
}

.be-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555555;
    cursor: pointer;
}

.be-checkbox input {
    width: 16px;
    height: 16px;
}

\.be-link {
    color: var(--bs-blue);
    text-decoration: none;
    font-weight: 500;
}

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

/* Botões - cores Big Store's */
.be-btn-primary {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--bs-red) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 18px rgba(227,6,19,0.30) !important;
    transition: all 0.25s ease !important;
}

.be-btn-primary:hover {
    background-color: #C70510 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(227,6,19,0.38) !important;
}

.be-btn-outline {
    width: 100%;
    padding: 12px 16px;
    background-color: transparent !important;
    color: var(--bs-blue) !important;
    border: 2px solid var(--bs-blue) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
    transition: all 0.25s ease !important;
}

.be-btn-outline:hover {
    background-color: var(--bs-blue) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.20);
}

/* Separador */
.be-separator {
    text-align: center;
    margin: 20px 0 10px;
    position: relative;
}

.be-separator span {
    background: #ffffff;
    padding: 0 10px;
    color: #999999;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.be-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
    z-index: 0;
}

/* Mensagem de já logado (quando usa o shortcode) */
.be-logged-message {
    padding: 32px;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    max-width: 480px;
    margin: 40px auto;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    font-size: 16px;
    font-weight: 500;
    color: #111111;
}

/* Remove margens padrão das mensagens do Woo dentro do wrapper */
.be-login-wrapper .woocommerce-error,
.be-login-wrapper .woocommerce-message,
.be-login-wrapper .woocommerce-info {
    margin-bottom: 18px;
}

/* Responsividade: telas menores */
@media (max-width: 900px) {
    .be-login-wrapper {
        padding: 0;
        min-height: 100vh;
    }

    .be-login-card {
        flex-direction: column;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }

    .be-promo-section {
        padding: 28px 20px 20px;
    }

    .be-category-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
        gap: 10px;
    }

    .be-cat-item {
        min-width: 96px;
        flex-shrink: 0;
    }

    .be-form-section {
        padding: 26px 20px 40px;
    }

    .be-form-header h1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .be-promo-section {
        padding-top: 22px;
    }

    .be-brand {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .be-promo-content h2 {
        font-size: 22px;
    }

    .be-promo-content p {
        font-size: 14px;
    }

    .be-form-header h1 {
        font-size: 20px;
    }

    .be-input-group input {
        font-size: 14px;
    }
}

.be-link{display:inline-block !important;}
