/* ==========================================================================
   Insparya Geolocalizations – Frontend Top Bar
   ========================================================================== */

.wplm-top-bar {
    position: relative;
    z-index: 999999;
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    min-height: 50px;
}

.wplm-top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.wplm-top-bar__title {
    font-size: 14px;
    font-weight: 500;
}

/* Selectors container */
.wplm-top-bar__selectors {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Individual selector */
.wplm-selector {
    display: flex;
    align-items: center;
}

.wplm-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #1a1a1a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23ffffff'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 16px center;
    background-size: 12px 8px;
    border: 1px solid #333;
    color: #ffffff;
    font-size: 14px;
    padding: 10px 40px 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: none !important;
    animation: none !important;
}

.wplm-selector select:hover,
.wplm-selector select:focus {
    background-color: #2a2a2a;
    border-color: #555;
    outline: none;
}

.wplm-selector select option {
    background: #1a1a1a;
    color: #fff;
}

/* Submit button */
.wplm-top-bar__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #000;
    border: 1px solid #ffffff !important;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    line-height: 1;
    transition: none !important;
    animation: none !important;
}

.wplm-top-bar__submit:hover {
    background: none !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.wplm-top-bar__submit svg {
    display: block;
}

/* ==========================================================================
   Shortcode [wplm_selector]
   ========================================================================== */
.wplm-selector-shortcode {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wplm-selector-shortcode .wplm-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #1a1a1a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23ffffff'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 16px center;
    background-size: 12px 8px;
    border: 1px solid #333;
    color: #ffffff;
    font-size: 14px;
    padding: 10px 40px 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: none !important;
    animation: none !important;
}

.wplm-selector-shortcode .wplm-selector select:hover,
.wplm-selector-shortcode .wplm-selector select:focus {
    background-color: #2a2a2a;
    border-color: #555;
    outline: none;
}

.wplm-selector-shortcode .wplm-selector select option {
    background: #1a1a1a;
    color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
    .wplm-top-bar__inner {
        flex-direction: column;
        padding: 10px 12px;
        gap: 8px;
    }

    .wplm-top-bar__selectors {
        justify-content: center;
    }
}

/* ==========================================================================
   HubSpot Forms – Global Location Picker
   ========================================================================== */
.wplm-hubspot-global__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: left;
}

.wplm-hubspot-global__btn {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 140px;
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #333;
    border-radius: 8px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.wplm-hubspot-global__btn:hover,
.wplm-hubspot-global__btn:focus {
    background: #333;
    color: #fff;
    border-color: #333;
    outline: none;
}

.wplm-hubspot-global__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f7f7f7;
    color: #333;
    cursor: pointer;
}

.wplm-hubspot-global__back:hover {
    background: #eee;
}

.wplm-hubspot-global__form-container {
    max-width: 600px;
}

@media (max-width: 600px) {
    .wplm-hubspot-global__buttons {
        flex-direction: column;
    }

    .wplm-hubspot-global__btn {
        min-width: 0;
        width: 100%;
    }
}

/* ==========================================================================
   HubSpot Forms – Style: Black (.hs-footer)
   ========================================================================== */
.hs-footer {
    color: #fff;
    padding: 32px 28px;
    border-radius: 10px;
}

.hs-footer label,
.hs-footer .hs-form-field > label {
    color: #ccc;
}

.hs-footer input[type="text"],
.hs-footer input[type="email"],
.hs-footer input[type="tel"],
.hs-footer input[type="number"],
.hs-footer textarea,
.hs-footer select {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    padding: 10px 14px;
}

.hs-footer input::placeholder,
.hs-footer textarea::placeholder {
    color: #888;
}

.hs-footer input[type="submit"],
.hs-footer .hs-button {
    background: #fff;
    color: #1a1a1a;
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.hs-footer input[type="submit"]:hover,
.hs-footer .hs-button:hover {
    opacity: 0.85;
}

.hs-footer .wplm-hubspot-global__btn {
    background: #242424;
    color: #fff;
    border: dashed 2px #333333;
    padding: 30px 8px;
}

.hs-footer .wplm-hubspot-global__btn:hover,
.hs-footer .wplm-hubspot-global__btn:focus {
    background: #fff;
    color: #1d1d1d;
    border-color: #fff;
}

.hs-footer .wplm-hubspot-global__back {
    background: transparent;
    color: #fff;
    border: 1px solid #FFF;
}

.hs-footer .wplm-hubspot-global__back:hover {
    background: #FFF;
    color: #000;
    border: 1px solid #FFF;
}

/* ==========================================================================
   HubSpot Forms – Style: White (.hs-popup)
   ========================================================================== */
.hs-popup {
    color: #333;
    padding: 0px;
}

.hs-popup label,
.hs-popup .hs-form-field > label {
    color: #555;
}

.hs-popup input[type="text"],
.hs-popup input[type="email"],
.hs-popup input[type="tel"],
.hs-popup input[type="number"],
.hs-popup textarea,
.hs-popup select {
    background: #f7f7f7;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 6px;
    padding: 10px 14px;
}

.hs-popup input::placeholder,
.hs-popup textarea::placeholder {
    color: #aaa;
}

.hs-popup input[type="submit"],
.hs-popup .hs-button {
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.hs-popup input[type="submit"]:hover,
.hs-popup .hs-button:hover {
    opacity: 0.85;
}

.hs-popup .wplm-hubspot-global__btn {
    background: #fff;
    color: #1d1d1d;
    border: dashed 2px #E9E9E9;
    padding: 30px 8px;
}

.hs-popup .wplm-hubspot-global__btn:hover,
.hs-popup .wplm-hubspot-global__btn:focus {
    background: #1d1d1d;
    color: #fff;
    border-color: #1d1d1d;
}

.hs-popup .wplm-hubspot-global__back {
    background: #FFF;
    color: #1A1A1A;
    border: 1px solid #1a1a1a;
}

.hs-popup .wplm-hubspot-global__back:hover {
    background: #1A1A1A;
    color: #FFF;
    border: 1px solid #1a1a1a;
}