/**
* 2007-2023 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-2023 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.
*/

.b2bregistration-top-link-text {
    background: #2fb5d2;
    height: 3rem;
    padding: .75rem;
    margin-left: .9375rem;
    text-align: center;
    white-space: nowrap;
}

.b2bregistration-top-link-text  a {
    color: white!important;
}
.header-top-right .b2bregistration-top-link-text{
margin-left: auto;
margin-top: 2%;
width: fit-content;
}

.top-link-text-ps6 a {
    color: #fff;
    font-weight: bold;
    display: block;
    padding: 8px 9px 11px 8px;
    cursor: pointer;
    line-height: 18px;
}

.top-link-text-ps6 {
    float: right;
    border-left: 1px solid #515151;
    border-right: 1px solid #515151;
}

.register-form select.form-control:not([size]):not([multiple]) {
    height: auto;
}

/* ==========================================================
   Wine & More - B2B Registration UI Patch
   Scope: module b2bregistration business account form
   ========================================================== */
.wm-b2b-register {
    max-width: 920px !important;
    margin: 60px auto !important;
    padding: 0 20px !important;
    font-family: Lato, Arial, sans-serif !important;
    color: #1c1c1c !important;
}
.wm-b2b-register > p,
.wm-b2b-register .wm-b2b-login-strip {
    display: block !important;
    visibility: visible !important;
    max-width: 920px !important;
    margin: 0 auto 18px !important;
    padding: 0 4px !important;
    color: #1c1c1c !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-align: left !important;
}
.wm-b2b-register > p a,
.wm-b2b-register .wm-b2b-login-strip a {
    color: #366e56 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
.wm-b2b-register > p a:hover,
.wm-b2b-register .wm-b2b-login-strip a:hover {
    color: #d90327 !important;
    text-decoration: underline !important;
}
.wm-b2b-register form#customer-form {
    background: #f7f7f7 !important;
    padding: 55px 65px !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 auto !important;
}
.wm-b2b-register form#customer-form::before {
    content: "Request access";
    display: block;
    text-align: center;
    color: #d90327;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 42px;
}
.wm-b2b-register form#customer-form > section {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 40px !important;
    margin: 0 !important;
    width: 100% !important;
}
.wm-b2b-register h3 {
    width: 100% !important;
    flex: 0 0 100% !important;
    color: #366e56 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 38px 0 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    text-transform: none !important;
}
.wm-b2b-register h3::after {
    content: "";
    display: block;
    height: 1px;
    background: #777;
    flex: 1 1 auto;
}
.wm-b2b-register h3 + hr,
.wm-b2b-register hr {
    display: none !important;
}
.wm-b2b-register div.clearfix:empty {
    display: none !important;
}
.wm-b2b-register .form-group,
.wm-b2b-register form#customer-form > section > .col-md-2,
.wm-b2b-register form#customer-form > section > .col-md-3,
.wm-b2b-register form#customer-form > section > .col-md-4,
.wm-b2b-register form#customer-form > section > .col-md-6,
.wm-b2b-register #registration_fields .form-group,
.wm-b2b-register #registration_fields > div {
    width: calc(50% - 20px) !important;
    max-width: calc(50% - 20px) !important;
    flex: 0 0 calc(50% - 20px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 0 30px !important;
    float: none !important;
}
.wm-b2b-register .col-md-12,
.wm-b2b-register .form-group.row,
.wm-b2b-register .form-footer,
.wm-b2b-register #registration_fields,
.wm-b2b-register .wm-b2b-consents,
.wm-b2b-register .wm-b2b-full {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}
.wm-b2b-register label,
.wm-b2b-register .form-control-label {
    color: #6f6f6f !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    margin-bottom: 4px !important;
}
.wm-b2b-register input[type="text"],
.wm-b2b-register input[type="email"],
.wm-b2b-register input[type="tel"],
.wm-b2b-register input[type="password"],
.wm-b2b-register select,
.wm-b2b-register textarea,
.wm-b2b-register .form-control {
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #6f6f6f !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 10px 8px !important;
    color: #1c1c1c !important;
    font-size: 15px !important;
    min-height: 43px !important;
}
.wm-b2b-register input:focus,
.wm-b2b-register select:focus,
.wm-b2b-register textarea:focus,
.wm-b2b-register .form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-bottom-color: #d90327 !important;
}
.wm-b2b-register .input-group {
    width: 100% !important;
    display: flex !important;
}
.wm-b2b-register .input-group input {
    flex: 1 1 auto !important;
}
.wm-b2b-register .input-group-btn .btn,
.wm-b2b-register button[data-action="show-password"] {
    background: #366e56 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 14px !important;
    min-height: 43px !important;
}
/* File upload fields */
.wm-b2b-register input[type="file"],
.wm-b2b-register input.attachment,
.wm-b2b-register .attachment {
    width: 100% !important;
    min-height: 64px !important;
    padding: 20px !important;
    border: 1px dashed #777 !important;
    background: transparent !important;
    color: #6f6f6f !important;
    cursor: pointer !important;
}
.wm-b2b-register .image_container {
    display: none !important;
}
/* Checkbox repair: use native browser checkbox and remove fake material icon */
.wm-b2b-register .wm-b2b-consents {
    margin-top: 15px !important;
    margin-bottom: 10px !important;
}
.wm-b2b-register .wm-b2b-checkbox,
.wm-b2b-register .custom-checkbox .label-control {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 12px 0 !important;
    color: #1c1c1c !important;
    line-height: 1.45 !important;
    cursor: pointer !important;
}
.wm-b2b-register .wm-b2b-checkbox input[type="checkbox"],
.wm-b2b-register .custom-checkbox input[type="checkbox"] {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 3px 0 0 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    border: initial !important;
}
.wm-b2b-register .custom-checkbox input[type="checkbox"] + span,
.wm-b2b-register .custom-checkbox .checkbox-checked {
    display: none !important;
}
.wm-b2b-register .wm-b2b-checkbox span,
.wm-b2b-register .custom-checkbox label {
    font-size: 15px !important;
}
.wm-b2b-register .wm-b2b-checkbox a,
.wm-b2b-register .custom-checkbox a,
.wm-b2b-register .read-b2b-conditions {
    color: #366e56 !important;
    text-decoration: underline !important;
}
/* Submit */
.wm-b2b-register footer.form-footer,
.wm-b2b-register .form-footer {
    text-align: center !important;
    margin-top: 28px !important;
    clear: both !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.wm-b2b-register .form-footer .btn,
.wm-b2b-register button[type="submit"],
.wm-b2b-register #b2b_add_data {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 180px !important;
    min-height: 54px !important;
    background: #d90327 !important;
    border: 1px solid #d90327 !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: none !important;
    padding: 14px 36px !important;
}
.wm-b2b-register .form-footer .btn:hover,
.wm-b2b-register button[type="submit"]:hover,
.wm-b2b-register #b2b_add_data:hover {
    background: #366e56 !important;
    border-color: #366e56 !important;
}
.wm-b2b-register #b2b_add_data,
.wm-b2b-register #b2b_data {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.wm-b2b-register #b2b_add_data[disabled],
.wm-b2b-register #b2b_data[disabled] {
    display: inline-flex !important;
}
.wm-b2b-register button[disabled],
.wm-b2b-register button:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}
@media (max-width: 768px) {
    .wm-b2b-register {
        margin: 35px auto !important;
        padding: 0 16px !important;
    }
    .wm-b2b-register form#customer-form {
        padding: 35px 24px !important;
    }
    .wm-b2b-register form#customer-form::before {
        font-size: 30px !important;
    }
    .wm-b2b-register .form-group,
    .wm-b2b-register form#customer-form > section > .col-md-2,
    .wm-b2b-register form#customer-form > section > .col-md-3,
    .wm-b2b-register form#customer-form > section > .col-md-4,
    .wm-b2b-register form#customer-form > section > .col-md-6,
    .wm-b2b-register #registration_fields .form-group,
    .wm-b2b-register #registration_fields > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    .wm-b2b-register h3 {
        gap: 16px !important;
    }
}


/* Wine & More B2B upload selection feedback */
.wm-b2b-register .wm-b2b-upload-feedback {
    display: block !important;
    margin-top: 8px !important;
    padding: 8px 10px !important;
    border-left: 3px solid #366e56 !important;
    background: rgba(54, 110, 86, 0.08) !important;
    color: #366e56 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}
.wm-b2b-register .wm-b2b-upload-feedback.is-error {
    border-left-color: #d90327 !important;
    background: rgba(217, 3, 39, 0.08) !important;
    color: #d90327 !important;
}
.wm-b2b-register .wm-b2b-upload-help {
    display: block !important;
    margin-top: 6px !important;
    color: #777 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}
