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

/* Nova Poshta Selector Styles */
.np-selector-wrapper {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.np-selector-wrapper h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.np-selector .mb-2 {
    margin-bottom: 10px;
}

.np-selector .form-label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.np-selector select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
}

.np-selector select:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.np-selector select:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

/* Mobile selector styles */
.np-mobile-selector {
    margin: 15px 0;
}

.np-mobile-selector .form-group {
    margin-bottom: 10px;
}

.np-mobile-selector label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.np-mobile-selector #mobile_np_selection {
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}

.np-mobile-selector #mobile_np_selection:hover {
    background-color: #f8f9fa;
    border-color: #007cba;
}

/* Modal styling enhancements */
#npModal .modal-body {
    padding: 20px;
}

#npModal .modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 15px 20px;
}

#npModal .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 15px 20px;
}

#npModal .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

#npModal .btn-primary {
    background-color: #007cba;
    border-color: #007cba;
}

#npModal .btn-primary:hover {
    background-color: #006ba6;
    border-color: #006ba6;
}

#npModal .btn-primary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .np-selector-wrapper {
        margin: 10px 0;
        padding: 10px;
    }

    #npModal .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    #npModal .modal-body {
        padding: 15px;
    }
}
