/* BSB Profissionais Frontend Styles */

:root {
    --bsb-primary: #3b8b88;
    --bsb-primary-hover: #2d6b68;
    --bsb-text: #333;
    --bsb-border: #ddd;
    --bsb-bg: #fff;
    --bsb-error: #d9534f;
    --bsb-success: #5cb85c;
}

/* Formulário de Login Box */
.bsb-prof-login-box {
    background: var(--e-global-color-d536683);
    color: #fff;
    padding: 32px 24px;
    border-radius: 0;
    max-width: 413px;
    font-family: var(--e-global-typography-text-font-family);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.bsb-prof-login-box.logged-in {
    text-align: center;
}
p.bsb-login-subtitle {
    font-size: 12px;
    line-height: 18.7px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--e-global-color-1f7a474);
    margin: 0;
}
.bsb-prof-login-box .bsb-login-title {
    font-size: 36px;
    line-height: 43.2px;
    margin: 0;
    color: var(--e-global-color-a9564f2);
    font-family: var(--e-global-typography-primary-font-family);
}
.bsb-prof-login-box .bsb-login-desc {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 20.1px;
    color: var(--e-global-color-56a8a71);
}

/* Formulário Genérico */
form#bsb-profissionais-login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bsb-form-group label {
        font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--e-global-color-c4debf2);
    line-height: 18.7px;
    letter-spacing: 1.1px;
}
.bsb-prof-login-box .bsb-form-group label {
    color: var(--e-global-color-56a8a71);
}

.bsb-form-group input[type="text"], .bsb-form-group input[type="email"], .bsb-form-group input[type="password"], .bsb-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--e-global-color-df443a6);
    border-radius: 0px;
    font-size: 16px;
    background-color: #fff;
    color: var(--e-global-color-d536683);
    outline: none;
    line-height: 24px;
    transition: border-color 0.3s;
}
.bsb-form-group input:focus,
.bsb-form-group select:focus {
    border-color: var(--bsb-primary);
}

.bsb-form-actions .bsb-btn {
    display: inline-block;
    padding: 14px;
    border: none;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}
.bsb-form-actions .bsb-btn-primary {
    background: var(--e-global-color-a68cd2f);
    color: #fff;
}
.bsb-form-actions .bsb-btn-primary:hover {
    background: var(--e-global-color-a68cd2f);
    color: #fff;
}
.bsb-form-actions .bsb-btn-block {
    display: block;
    width: 100%;
}
.bsb-btn-large {
    padding: 15px 40px;
    font-size: 16px;
    background: #762635; /* Cor do botão de envio da maquete */
}
.bsb-btn-large:hover {
    background: #5a1d28;
}

.bsb-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
form#bsb-profissionais-login-form .bsb-form-footer a {
    color: var(--e-global-color-a68cd2f);
    text-decoration: none;
    font-size: 13px;
}
.bsb-form-footer a:hover {
    text-decoration: underline;
}

form#bsb-profissionais-login-form .bsb-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
}
.bsb-checkbox-label input {
    margin-right: 8px;
}

/* Formulário de Pedido */
.bsb-prof-pedido-wrap {
    max-width: 628px;
    margin: 0 auto;
}
.bsb-prof-pedido-header {
    text-align: center;
    margin-bottom: 48px;
}
.bsb-prof-pedido-wrap .bsb-prof-pedido-header h2 {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 32px;
    line-height: 41.6px;
    color: var(--e-global-color-67833de);
    margin: 0;
}
.bsb-form-section-title {
    color: var(--e-global-color-d6d6ec0);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    margin-top: 48px;
    margin-bottom: 24px;
}

.bsb-form-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 24px;
}
.bsb-form-row > .bsb-form-group {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}
.bsb-col-6 {
    width: 50%;
}
.bsb-col-12 {
    width: 100%;
}

.bsb-form-actions.bsb-center {
    text-align: center;
    margin-top: 48px;
}

form#bsb-profissionais-pedido-form button.bsb-btn.bsb-btn-primary.bsb-btn-large {
    display: inline-block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    background: var(--e-global-color-31d9a12);
    color: #fff;
}

/* Mensagens */
.bsb-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 3px;
    font-size: 14px;
}
.bsb-form-message.success {
    background: #e8f5e9;
    color: var(--bsb-success);
    border: 1px solid #c8e6c9;
}
.bsb-form-message.error {
    background: #fde5e5;
    color: var(--bsb-error);
    border: 1px solid #f8c9c9;
}

@media (max-width: 768px) {
    .bsb-col-6 {
        width: 100%;
    }
    .bsb-form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Cart Indicator B2B */
.bsb-prof-cart-indicator {
    background: #F8F6F0;
    padding: 15px;
    margin-top: 20px;
    border-top: 1px solid #EBEBEB;
    border-bottom: 1px solid #EBEBEB;
    font-family: inherit;
}

.bsb-prof-cart-indicator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.bsb-prof-cart-indicator-text {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.bsb-prof-cart-indicator-text .icon-box {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.bsb-prof-cart-indicator-text .plus {
    margin: 0 8px;
    color: #999;
}

.bsb-prof-cart-indicator-text .bottles-muted {
    display: flex;
    align-items: center;
    color: #999;
}

.bsb-prof-cart-indicator-text .icon-vinho-muted {
    width: 8px;
    height: auto;
    margin-right: 4px;
    opacity: 0.5;
}

.bsb-prof-cart-indicator-visual {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bsb-prof-cart-indicator-visual .box-group {
    display: flex;
    gap: 2px;
}

.bsb-prof-cart-indicator-visual .box-group img {
    width: 8px;
    height: auto;
}

.bsb-prof-cart-indicator-visual .box-group img.empty {
    opacity: 0.3;
}

.bsb-prof-cart-indicator-visual .compact-view {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    font-size: 14px;
}

.bsb-prof-cart-indicator-visual .compact-view .icon-box {
    width: 16px;
    height: 16px;
}

.bsb-prof-cart-indicator-visual .compact-view .plus {
    color: #999;
    font-weight: normal;
}

.bsb-prof-cart-warning {
    color: #C82441; /* Cor semelhante aos botões/alertas da Natwine */
    font-size: 13px;
    margin-top: 10px;
}
