/**
 * Nova Poshta Module CSS
 */

.novapost-config {
    padding: 20px;
}

.novapost-config .form-group {
    margin-bottom: 15px;
}

.novapost-config label {
    font-weight: bold;
    color: #363a41;
}

.novapost-config .help-block {
    color: #737373;
    font-size: 12px;
}

/* Warehouse Selector Styles */
.novapost-warehouse-selector {
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 15px 0;
}

.novapost-warehouse-selector h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.novapost-warehouse-selector .form-group {
    margin-bottom: 15px;
}

.novapost-warehouse-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.novapost-warehouse-selector select,
.novapost-warehouse-selector input {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.novapost-warehouse-selector .dropdown-container {
    position: relative;
    width: 100%;
}

.novapost-warehouse-selector .city-dropdown,
.novapost-warehouse-selector .warehouse-dropdown {
    display: none;
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.novapost-warehouse-selector .city-dropdown div,
.novapost-warehouse-selector .warehouse-dropdown div {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.novapost-warehouse-selector .city-dropdown div:hover,
.novapost-warehouse-selector .warehouse-dropdown div:hover {
    background: #f1f1f1;
}

.novapost-warehouse-selector .city-dropdown div:last-child,
.novapost-warehouse-selector .warehouse-dropdown div:last-child {
    border-bottom: none;
}

.novapost-warehouse-selector input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.novapost-warehouse-selector input:not([readonly]) {
    cursor: pointer;
}

.novapost-logo {
    max-width: 150px;
    height: auto;
}

.novapost-warehouse-selector {
    margin-top: 15px;
}

.novapost-city-search {
    position: relative;
}

.novapost-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.novapost-search-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.novapost-search-item:hover {
    background-color: #f5f5f5;
}

.novapost-tracking-info {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
}

.novapost-status {
    font-weight: bold;
    color: #337ab7;
}