/* public/assets/css/components.css */
.site-fab-stack {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
}

.btn-fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-fab-chat {
    position: relative;
    background: #fff;
    color: var(--fl-green-primary);
    border: 2px solid rgba(0, 155, 58, 0.22);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.12);
    animation: fab-chat-nudge 12s ease-in-out infinite;
    cursor: pointer;
}

button.btn-fab-chat {
    padding: 0;
}

.btn-fab-chat::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(0, 155, 58, 0.45);
    opacity: 0;
    pointer-events: none;
    animation: fab-chat-ring 12s ease-out infinite;
}

.btn-fab-chat:hover,
.btn-fab-chat:focus-visible {
    animation: none;
    background: rgba(0, 155, 58, 0.08);
    color: var(--fl-green-dark);
    transform: translateY(-3px);
}

.btn-fab-chat:hover::after,
.btn-fab-chat:focus-visible::after {
    animation: none;
    opacity: 0;
}

@keyframes fab-chat-nudge {
    0%, 78%, 100% {
        transform: scale(1);
    }

    82% {
        transform: scale(1.08);
    }

    86% {
        transform: scale(1);
    }

    89% {
        transform: scale(1.05);
    }

    92% {
        transform: scale(1);
    }
}

@keyframes fab-chat-ring {
    0%, 78%, 100% {
        opacity: 0;
        transform: scale(1);
    }

    79% {
        opacity: 0.65;
        transform: scale(1);
    }

    90% {
        opacity: 0;
        transform: scale(1.55);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-fab-chat,
    .btn-fab-chat::after {
        animation: none;
    }
}

.uan-chat-native-hidden {
    opacity: 0 !important;
    width: 50px !important;
    height: 50px !important;
    overflow: hidden !important;
    position: fixed !important;
    right: 30px !important;
    bottom: 30px !important;
    z-index: 1040 !important;
}

.btn-scroll-top {
    background: var(--fl-green-primary);
    color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 155, 58, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: none;
}

.btn-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.btn-scroll-top:hover {
    background: var(--fl-green-dark);
    transform: translateY(-3px);
    color: #fff;
}
.search-container-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 10px; border-radius: 100px;
    display: flex; align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    max-width: 900px; flex-direction: row;
}
.search-glass-item { flex: 1; padding: 10px 25px; position: relative; border-bottom: none; }
.sg-label {
    display: block; font-size: 0.7rem; font-weight: 800;
    color: var(--fl-green-dark); text-transform: uppercase; margin-bottom: 4px; letter-spacing: 1px;
}
.sg-input {
    width: 100%; border: none; background: 0 0; font-size: 1.1rem;
    font-weight: 700; color: var(--fl-dark-deep); outline: 0; padding: 0;
}
.sg-input::placeholder { color: #94a3b8; }
.search-divider { width: 1px; height: 40px; background: rgba(0, 0, 0, 0.1); display: block; }
.search-glass-btn-wrapper { padding: 5px; margin-top: 0; width: auto; }
.sg-btn {
    width: 55px; height: 55px; border-radius: 50%;
    background: var(--fl-green-rich-gradient); border: none; color: #fff; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0, 155, 58, 0.3);
}
.sg-btn:hover { transform: scale(1.1); box-shadow: 0 10px 25px rgba(0, 155, 58, 0.5); }
.autocomplete-dropdown {
    position: absolute; top: 100%; left: 0; width: 100%; background: white;
    border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-top: 10px; z-index: 1000; max-height: 300px; overflow-y: auto; display: none; padding: 5px;
}
.autocomplete-item {
    padding: 10px 20px; cursor: pointer; border-radius: 8px;
    display: flex; justify-content: space-between; align-items: center; transition: background 0.2s;
}
.autocomplete-item:hover { background: #f0fdf4; }
.city-name { font-weight: 700; color: var(--fl-dark-deep); }
.btn-green-search {
    background-color: var(--fl-green-primary) !important;
    border-color: var(--fl-green-primary) !important; color: white !important;
    transition: all 0.3s ease;
}
.btn-green-search:hover {
    background-color: var(--fl-green-dark) !important;
    border-color: var(--fl-green-dark) !important;
    box-shadow: 0 4px 12px rgba(0, 155, 58, 0.3); transform: translateY(-2px);
}
.form-floating > .form-control {
    border: 2px solid #f1f5f9; background-color: #f8fafc; border-radius: 12px;
    padding-top: 1.625rem; padding-bottom: 0.625rem; font-weight: 600;
    color: #1e293b; height: calc(3.5rem + 2px);
}
.form-floating > .form-control:focus {
    border-color: var(--fl-green-primary); background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 155, 58, 0.1);
}
.form-floating > label { color: #94a3b8; font-weight: 500; padding-left: 1rem; }
.form-floating > label .bi {
    margin-right: 0.4rem;
    color: var(--fl-green-dark);
}
.field-error {
    display: block;
    margin-top: 0.35rem;
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 650;
}
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc2626 !important;
}
.form-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
#contact-form,
#lost-form {
    position: relative;
}
.form-select-modern {
    border: 2px solid #f1f5f9; background-color: #f8fafc; border-radius: 12px;
    padding: 1rem; font-weight: 600; color: #1e293b; height: calc(3.5rem + 2px); cursor: pointer;
}
textarea.form-control { height: 150px !important; }
.social-btn-glass {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7); transition: all 0.3s;
}
.social-btn-glass:hover {
    background: var(--fl-green-primary); border-color: var(--fl-green-primary);
    color: white; transform: translateY(-3px);
}
.btn-submit-lux {
    background: var(--fl-green-rich-gradient); color: white; border: none;
    padding: 16px; border-radius: 12px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(0, 155, 58, 0.4);
}
.btn-submit-lux:hover {
    transform: translateY(-3px); box-shadow: 0 20px 25px -5px rgba(0, 155, 58, 0.5); color: white;
}
.btn-submit-lux:disabled { background: #ccc; transform: none; box-shadow: none; cursor: not-allowed; }
.card-hover-green { border: 1px solid #e2e8f0; }
.green-icon-box {
    width: 36px; height: 36px; background: rgba(0, 155, 58, 0.1);
    color: var(--fl-green-primary); display: flex; align-items: center;
    justify-content: center; border-radius: 10px; flex-shrink: 0;
}
.info-separator { opacity: 0.1; margin: 1rem 0; }
.contact-link-green { color: #64748b; text-decoration: none; transition: color 0.2s; }
.contact-link-green:hover { color: var(--fl-green-primary); text-decoration: underline; }
@media (max-width: 991px) {
    .search-container-glass { flex-direction: column; border-radius: 25px; padding: 20px; }
    .search-glass-item { width: 100%; border-bottom: 1px solid rgba(0, 0, 0, 0.1); padding: 15px 0; }
    .search-divider { display: none; }
    .search-glass-btn-wrapper { width: 100%; margin-top: 15px; }
    .sg-btn { width: 100%; border-radius: 15px; }
}