* {
    font-family: "Inter", sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

a,
.btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* IPAddress*/
.custom-modal {
    background: rgba(0,0,0,.45);
}

.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-body {
    padding: 20px;
}

.form-control,
.form-select {
    height: 42px;
    border-radius: 6px;
}

    .form-control:focus,
    .form-select:focus {
        box-shadow: none;
        border-color: #dc3545;
    }

.btn {
    min-width: 90px;
    border-radius: 6px;
    font-weight: 500;
}

/* Manage IP Address */

.ip-address-page {
    padding: 20px;
    background: #f5f6f8;
    min-height: 100vh;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

    .page-header h4 {
        margin: 0;
        font-weight: 600;
        color: #212529;
    }

    .page-header p {
        color: #6c757d;
        font-size: 13px;
        margin-top: 4px;
    }

    .page-header > div:first-child {
        flex: 1;
    }

    .page-header > div:last-child,
    .page-header .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

.search-section {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-box {
    width: 250px;
    margin-left: auto;
}

.table-container {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
}

.custom-table {
    margin-bottom: 0;
}

    .custom-table thead th {
        font-size: 13px;
        color: #6c757d;
        font-weight: 600;
        border-bottom: 1px solid #e9ecef;
    }

    .custom-table tbody td {
        vertical-align: middle;
        font-size: 14px;
    }

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

    .status-badge.active {
        background: #d1fae5;
        color: #059669;
    }

    .status-badge.inactive {
        background: #e5e7eb;
        color: #6b7280;
    }

.action-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.edit-icon {
    color: #0d6efd;
    cursor: pointer;
}

.delete-icon {
    color: #dc3545;
    cursor: pointer;
}

    .edit-icon:hover,
    .delete-icon:hover {
        transform: scale(1.1);
    }

.action-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.action-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 15px;
}

.edit-btn {
    background: #e8f1ff;
    color: #0d6efd;
}

    .edit-btn:hover {
        background: #0d6efd;
        color: #fff;
    }

.delete-btn {
    background: #fdeaea;
    color: #dc3545;
}

    .delete-btn:hover {
        background: #dc3545;
        color: #fff;
    }

.status-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

    .status-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.status-slider {
    position: absolute;
    inset: 0;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 30px;
    transition: .3s ease;
    cursor: default;
}

    .status-slider::before {
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        left: 2px;
        top: 2px;
        background: #bfc5cc;
        border-radius: 50%;
        transition: .3s ease;
        box-shadow: 0 1px 3px rgba(0,0,0,.2);
    }

/* Active */

.status-switch input:checked + .status-slider::before {
    background: #fff;
    transform: translateX(20px);
}

/* ── Search Bar ──────────────────────────────────────────────────────
   Modern search input with icon, clear button, and smooth animations
──────────────────────────────────────────────────────────────────── */

.search-bar-wrapper {
    width: 100%;
    max-width: 320px;
    min-width: 280px;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    pointer-events: none;
    z-index: 1;
}

    .search-icon svg {
        width: 18px;
        height: 18px;
    }

.search-input {
    width: 100%;
    height: 40px;
    padding: 8px 42px 8px 42px;
    font-size: 14px;
    color: #1e293b;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .search-input::placeholder {
        color: #94a3b8;
        font-weight: 400;
    }

    .search-input:hover {
        background: #ffffff;
        border-color: #cbd5e0;
    }

    .search-input:focus {
        background: #ffffff;
        border-color: #475569;
    }

    .search-input:focus ~ .search-icon {
        color: #475569;
    }

.search-clear-btn {
    position: absolute;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
}

    .search-clear-btn svg {
        width: 16px;
        height: 16px;
    }

    .search-clear-btn:hover {
        color: #ff0000;
        background: rgba(255, 0, 0, 0.08);
        transform: scale(1.1);
    }

    .search-clear-btn:active {
        transform: scale(0.95);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-bar-wrapper {
        max-width: 100%;
        min-width: 200px;
    }

    .search-input {
        font-size: 13px;
        height: 38px;
    }
}


/* ── Page Loader ─────────────────────────────────────────────────── */
.wstym-main-loader {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.loader-inner {
    display: block;
    width: 44px;
    height: 44px;
    border: 4px solid #f0f0f0;
    border-top-color: #dc3545;
    border-radius: 50%;
    animation: loader-spin 0.75s linear infinite;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Set Up Password */

.setup-password-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 20px;
}

.setup-password-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    padding: 60px 50px;
}

.logo-section {
    text-align: center;
    margin-bottom: 50px;
}

.brand-title {
    font-size: 42px;
    font-weight: 800;
    color: #2d3748;
    margin: 0;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin: 5px 0 0 0;
    letter-spacing: 4px;
}

.setup-password-form {
    margin-top: 40px;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        font-size: 16px;
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 8px;
    }

.required {
    color: #ff0000;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 15px 18px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

    .form-control::placeholder {
        color: #cbd5e0;
    }

    .form-control:focus {
        border-color: #ff0000;
        box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
    }

.password-input-wrapper {
    position: relative;
}

    .password-input-wrapper .form-control {
        padding-right: 50px;
    }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #cbd5e0;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: color 0.3s ease;
}

    .password-toggle:hover {
        color: #718096;
    }

/* Eye icon positioned inside the input on the right */
.toggle-password.icon-right {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

    .toggle-password.icon-right .eye-icon {
        width: 20px;
        height: 20px;
        opacity: 0.5;
        transition: opacity 0.2s ease;
        display: block;
    }

    .toggle-password.icon-right:hover .eye-icon {
        opacity: 0.8;
    }

.btn-setup {
    width: 100%;
    padding: 18px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: capitalize;
}

    .btn-setup:hover:not(:disabled) {
        background: #cc0000;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
    }

    .btn-setup:active:not(:disabled) {
        transform: translateY(0);
    }

    .btn-setup:disabled {
        background: #e57373;
        cursor: not-allowed;
    }

.back-to-signin {
    text-align: center;
    margin-top: 25px;
}

    .back-to-signin a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #718096;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .back-to-signin a:hover {
            color: #2d3748;
        }

    .back-to-signin i {
        font-size: 14px;
    }

.validation-message {
    color: #ff0000;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease-in;
}

.alert-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 25px;
}

    .alert-message.error {
        background: #fff5f5;
        color: #c53030;
        border: 1px solid #feb2b2;
    }

    .alert-message.success {
        background: #f0fff4;
        color: #276749;
        border: 1px solid #9ae6b4;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control.error {
    border-color: #ff0000 !important;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@media (max-width: 768px) {
    .setup-password-card {
        padding: 40px 30px;
    }

    .brand-title {
        font-size: 36px;
    }

    .brand-subtitle {
        font-size: 20px;
    }

    .form-title {
        font-size: 24px;
    }
}

.cursor-pointer {
    cursor: pointer;
}

/* ── Email Tag Input ─────────────────────────────────────────────────────────
   A chip-style multi-email field: chips render inside the input box border.
   Primary chip uses the app's red accent; secondary chips are neutral grey.
──────────────────────────────────────────────────────────────────────────── */

.email-tag-input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: #fff;
    cursor: text;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .email-tag-input:focus-within {
        border-color: #dc3545;
        box-shadow: none;
    }

    .email-tag-input.is-invalid {
        border-color: #dc3545;
    }

/* Individual chip */
.email-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    background: #f1f3f5;
    color: #495057;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.4;
}

/* Primary chip — red outline matching the image */
.email-tag--primary {
    border-color: #dc3545;
    background: #fff5f5;
    color: #dc3545;
}

/* Remove (×) button inside the chip */
.email-tag__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    color: inherit;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.15s, background 0.15s;
}

    .email-tag__remove:hover {
        opacity: 1;
        background: rgba(0, 0, 0, 0.08);
    }

/* The invisible text input that sits after the chips */
.email-tag__input {
    flex: 1;
    min-width: 180px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.875rem;
    color: #212529;
    padding: 2px 0;
}

    .email-tag__input::placeholder {
        color: #adb5bd;
    }

/* ── City Searchable Dropdown */
.city-searchable-wrapper {
    position: relative;
}

.city-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 200px;
    overflow-y: auto !important;
    overflow-x: hidden;
    overscroll-behavior: contain;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.city-dropdown-list,
.region-dropdown-list {
    scrollbar-width: thin;
    scrollbar-color: #888888 #f1f3f5;
}

.city-dropdown-list::-webkit-scrollbar,
.region-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.city-dropdown-list::-webkit-scrollbar-track,
.region-dropdown-list::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 4px;
}

.city-dropdown-list::-webkit-scrollbar-thumb,
.region-dropdown-list::-webkit-scrollbar-thumb {
    background: #888888;
    border-radius: 4px;
}

.city-dropdown-list::-webkit-scrollbar-thumb:hover,
.region-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #666666;
}

.city-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f1f3f5;
}

    .city-dropdown-item:last-child {
        border-bottom: none;
    }

    .city-dropdown-item:hover {
        background-color: #f8f9fa;
    }

    .city-dropdown-item .city-name {
        font-weight: 500;
        color: #212529;
        font-size: 0.9rem;
    }

/*REGION SEARCHABLE DROPDOWN */

.region-searchable-wrapper {
    position: relative;
}

.region-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 200px;
    overflow-y: auto !important;
    overflow-x: hidden;
    overscroll-behavior: contain;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.region-dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f1f3f5;
}

    .region-dropdown-item:last-child {
        border-bottom: none;
    }

    .region-dropdown-item:hover {
        background-color: #f8f9fa;
    }

.region-dropdown-item .region-name {
    font-weight: 500;
    color: #212529;
    font-size: 0.9rem;
}

/* Select Location */

.location-selection-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 20px;
}

.location-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    padding: 60px 50px;
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.brand-title {
    font-size: 42px;
    font-weight: 800;
    color: #2d3748;
    margin: 0;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin: 5px 0 0 0;
    letter-spacing: 4px;
}

.location-form {
    margin-top: 30px;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    font-size: 16px;
    color: #718096;
    margin-bottom: 30px;
    text-align: center;
}

.location-dropdown-container {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.required {
    color: #ff0000;
    margin-left: 2px;
}

.form-select {
    width: 100%;
    padding: 15px 18px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: white;
    cursor: pointer;
}

    .form-select:focus {
        border-color: #ff0000;
        box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
    }

.btn-continue {
    width: 100%;
    padding: 18px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: capitalize;
}

    .btn-continue:hover:not(:disabled) {
        background: #cc0000;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
    }

    .btn-continue:active:not(:disabled) {
        transform: translateY(0);
    }

    .btn-continue:disabled {
        background: #cbd5e0;
        cursor: not-allowed;
        opacity: 0.6;
    }

.locations-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.info-text {
    font-size: 14px;
    color: #718096;
    margin-bottom: 10px;
}

.location-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.location-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .location-card {
        padding: 40px 30px;
    }

    .brand-title {
        font-size: 36px;
    }

    .brand-subtitle {
        font-size: 20px;
    }

    .form-title {
        font-size: 24px;
    }
}
/* =========================================================
   BLAZORED TOAST - CUSTOM UI
   ========================================================= */

/* ---------------------------------------------------------
   TOAST CONTAINER
   --------------------------------------------------------- */

.blazored-toast-container {
    position: fixed !important;
    top: 24px !important;
    right: 24px !important;
    left: auto !important;
    bottom: auto !important;
    width: 320px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    z-index: 999999 !important;
    pointer-events: none !important;
}

/* ---------------------------------------------------------
   TOAST
   --------------------------------------------------------- */

.blazored-toast {
    position: relative !important;
    width: 320px !important;
    min-height: 72px !important;
    margin: 0 0 12px 0 !important;
    padding: 14px 14px 14px 14px !important;
    box-sizing: border-box !important;
    display: grid !important;
    /*
       COLUMN 1 = icon
       COLUMN 2 = message
       COLUMN 3 = close
    */
    grid-template-columns: 36px minmax(0, 1fr) 24px !important;
    column-gap: 12px !important;
    align-items: center !important;
    background: #ffffff !important;
    color: #344054 !important;
    border: 1px solid #e4e7ec !important;
    border-top: 3px solid #16b364 !important;
    border-radius: 2px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    box-sizing: border-box !important;
    animation: blazored-toast-in 0.25s ease-out !important;
    overflow: hidden !important;
    pointer-events: auto !important;
}


/* ---------------------------------------------------------
   SUCCESS
   --------------------------------------------------------- */

.blazored-toast-success {
    border-top: 3px solid #16b364 !important;
    position: relative;
}


/* ---------------------------------------------------------
   ERROR
   --------------------------------------------------------- */

.blazored-toast-error {
    border-top: 3px solid #dc2626 !important;
    position: relative;
}


/* ---------------------------------------------------------
   WARNING
   --------------------------------------------------------- */

.blazored-toast-warning {
    border-top: 3px solid #eab308 !important;
    position: relative;
}


/* ---------------------------------------------------------
   INFO
   --------------------------------------------------------- */

.blazored-toast-info {
    border-top: 3px solid #2563eb !important;
    position: relative;
}


/* =========================================================
   ICON
   ========================================================= */

.blazored-toast .blazored-toast-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: static !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-size: 17px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}


/* ---------------------------------------------------------
   SUCCESS ICON
   --------------------------------------------------------- */

.blazored-toast-success .blazored-toast-icon {
    background: #dcfce7 !important;
    color: #12b76a !important;
}


/* ---------------------------------------------------------
   ERROR ICON
   --------------------------------------------------------- */

.blazored-toast-error .blazored-toast-icon {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}


/* ---------------------------------------------------------
   WARNING ICON
   --------------------------------------------------------- */

.blazored-toast-warning .blazored-toast-icon {
    background: #fef3c7 !important;
    color: #d97706 !important;
}


/* ---------------------------------------------------------
   INFO ICON
   --------------------------------------------------------- */

.blazored-toast-info .blazored-toast-icon {
    background: #dbeafe !important;
    color: #2563eb !important;
}


/* Font Awesome element */

.blazored-toast .blazored-toast-icon i {
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
}


/* =========================================================
   TOAST BODY
   ========================================================= */

.blazored-toast .blazored-toast-body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
}


/* =========================================================
   HIDE SUCCESS / ERROR / WARNING / INFO HEADING
   ========================================================= */

.blazored-toast .blazored-toast-heading {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   MESSAGE
   ========================================================= */

.blazored-toast .blazored-toast-message {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #344054 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    text-align: left !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.blazored-toast .blazored-toast-close {
    grid-column: 3 !important;
    grid-row: 1 !important;
    position: static !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    justify-self: center !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #98a2b3 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}


/* ---------------------------------------------------------
   CLOSE ICON
   --------------------------------------------------------- */

.blazored-toast .blazored-toast-close-icon {
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #98a2b3 !important;
    line-height: 1 !important;
}


    /* SVG inside close icon */

    .blazored-toast .blazored-toast-close-icon svg {
        display: block !important;
        width: 18px !important;
        height: 18px !important;
        margin: 0 !important;
        padding: 0 !important;
        fill: currentColor !important;
    }


/* ---------------------------------------------------------
   CLOSE HOVER
   --------------------------------------------------------- */

.blazored-toast .blazored-toast-close:hover {
    background: transparent !important;
    color: #667085 !important;
}


/* ---------------------------------------------------------
   CLOSE FOCUS
   --------------------------------------------------------- */

.blazored-toast .blazored-toast-close:focus {
    outline: none !important;
    background: transparent !important;
}


/* =========================================================
   PROGRESS BAR
   ========================================================= */

.blazored-toast .blazored-toast-progressbar {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}


    /* Progress */

    .blazored-toast .blazored-toast-progressbar > span {
        position: absolute !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 3px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        transition: all 0.1s linear !important;
    }

/*    header*/
.blazored-toast-header{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -50%);
}
/* =========================================================
   ANIMATION
   ========================================================= */
@keyframes blazored-toast-in {

    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.locations-page .locations-search-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    box-sizing: border-box;
    border-bottom: 1px solid #f0f0f0;
}

    .locations-page .locations-search-row > * {
        width: 220px;
    }

.col-description {
    display: inline-block;
    max-width: 320px;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: middle;
}

/* =========================================================
   LOCK BACKGROUND SCROLL WHEN A DIALOG / MODAL IS OPEN
   Applies project-wide. Pure CSS via :has() — no JS needed.
   When any dialog overlay (or a shown Bootstrap modal) is
   present in the DOM, the page behind it can no longer scroll.
   ========================================================= */
html:has(.dialog-overlay),
html:has(.hph-dialog-overlay),
html:has(.modal.show),
html:has(.modal.d-block),
body:has(.dialog-overlay),
body:has(.hph-dialog-overlay),
body:has(.modal.show),
body:has(.modal.d-block) {
    overflow: hidden !important;
}
