/**
* 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;
}

/* Password validation styles */
#password-requirements {
    margin-top: 8px;
    font-size: 13px;
    color: #6c757d;
}

#password-requirements ul {
    margin-bottom: 0;
}

#password-requirements li {
    padding: 2px 0;
    transition: color 0.3s ease;
}

#password-requirements .req-icon {
    display: inline-block;
    width: 16px;
    font-weight: bold;
    margin-right: -5px;
}

#password-requirements .req-invalid {
    color: #dc3545;
}

#password-requirements .req-invalid .req-icon {
    color: #dc3545;
}

#password-requirements .req-valid {
    color: #28a745;
}

#password-requirements .req-valid .req-icon {
    color: #28a745;
}

/* B2B Welcome Popup Styles */
.b2b-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.b2b-popup-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    animation: slideIn 0.3s ease-in-out;
}

.b2b-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.b2b-popup-close:hover {
    color: #dc3545;
    transform: scale(1.1);
}

.b2b-popup-content {
    color: #333;
    line-height: 1.6;
}

.b2b-popup-content h1,
.b2b-popup-content h2,
.b2b-popup-content h3 {
    margin-top: 0;
    color: #2fb5d2;
}

.b2b-popup-content p {
    margin-bottom: 15px;
}

.b2b-popup-content ul,
.b2b-popup-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .b2b-popup-container {
        width: 95%;
        max-height: 90vh;
        padding: 20px;
    }

    .b2b-popup-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
    }
}

/* Phone prefix and number styling */
#phone_prefix {
    text-align: center;
    font-weight: bold;
}

.form-group .row .col-md-4 small,
.form-group .row .col-md-8 small {
    font-size: 11px;
    color: #6c757d;
    display: block;
    margin-top: 3px;
}