@import url(form.css);
@import url(grid.css);
@import url(menu.css);
@import url(types.css);

.bgLoginImage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 841px;
    z-index: -1;
}

.backdropLogin {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    background: rgba(223, 223, 223, 0.40);
    backdrop-filter: blur(48.79999923706055px);
    z-index: 0;
}

.loader {
    z-index: 999999;
    background-color: #fff;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100dvw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all .5s;
}

.loader img {
    width: 100px;
}

.notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999999;
    pointer-events: none;
    width: 400px;
    height: 0;
}

.notification {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bg-notification);
    box-shadow: 0 4px 16.1px 0 rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(9px);
    padding: 10px;
    min-width: 320px;
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-120%) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification-content-icon {
    display: flex;
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 41px;
    background: var(--bg-notification-icon);
}

.notification-content-icon img {
    width: 30px;
}

.notification.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.notification.hide {
    transform: translateY(-120%) scale(0.9);
    opacity: 0;
}

/* Efecto de apilamiento tipo iPhone - las más antiguas detrás */
.notification[data-stack="1"] {
    transform: translateY(-6px) scale(0.98);
    opacity: 0.9;
    z-index: -1;
}

.notification[data-stack="2"] {
    transform: translateY(-12px) scale(0.96);
    opacity: 0.7;
    z-index: -2;
}

.notification[data-stack="3"],
.notification[data-stack="4"],
.notification[data-stack="5"] {
    transform: translateY(-18px) scale(0.94);
    opacity: 0.5;
    z-index: -3;
}

.notification-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
        background: var(--bg-notification-progress);
    width: 0%;
    z-index: -1;
}

@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.spinner-inline {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-inputNormal);
    border-top-color: #5F78FF;
    border-radius: 50%;
    animation: spinInline 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spinInline {
    to { transform: rotate(360deg); }
}

.notification img {
    width: 24px;
    height: 24px;
    min-width: 24px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.notification-title {
    font-weight: 700;
    font-size: var(--font-title);
    color: #ffffff;
    margin: 0;
}

.notification-text {
    font-size: var(--font-little);
    color: #b3b3b3;
    margin: 0;
}

.notification-close {
    background: none;
    border: none;
    color: #c4c4c4;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background-color: #000000;
    color: #ffffff;
}

.imgUser {
    width: 47px;
    height: 47px;
    border-radius: 50px;
}

.imgUserEditProfile {
    width: 102px;
    height: 102px;
    border-radius: 100px;
}



/* SUGGESTIONS */

.inputSuggestion {
    display: flex;
    padding: 10px 20px;
    align-items: center;
    gap: 10px;
    justify-content: center;
    border-radius: 15px;
    background: none;
    color: #A0A0A0;
    text-align: center;
    width: 100%;
    border: none;
    font-family: 'Inter';
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: all .5s;
    outline: none;
}

.inputSuggestion:hover,
.inputSuggestion.highlighted {
    transform: translate(5px, 0px);
    color: #FFF;
}

[data-theme="light"] .inputSuggestion {
    color: #767272;
}

[data-theme="light"] .inputSuggestion:hover,
[data-theme="light"] .inputSuggestion.highlighted {
    background-color: #f0f7ff;
    color: #0066cc;
}

/* Suggestion field wrapper */
.suggestion-field {
    display: flex;
    align-items: center;
    background: #24262A;
    padding: 5px;
    border-radius: 15px;
    gap: 5px;
    flex: 1;
    min-width: 80px;
    overflow: hidden;
    width: 90vw !important;
    max-width: fit-content !important;
}

.suggestion-field .contentSuggestionsSelected {
    width: fit-content !important;
    min-width: fit-content !important;
}

[data-theme="light"] .suggestion-field {
    background: #F0F1F3;
}

.suggestion-field-input {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0px;
    max-width: fit-content !important;
    width: fit-content !important;
}

.suggestion-field-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Inter';
    font-size: 13px;
    font-weight: 500;
    color: #FFF;
    pointer-events: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

[data-theme="light"] .suggestion-field-label {
    color: #000;
}

.suggestion-field:has(.inputTransparent:not(:placeholder-shown)) .suggestion-field-label {
    opacity: 0;
    pointer-events: none;
}

.suggestion-field .inputTransparent {
    padding: 10px;
}

/* Selected chip */
.suggestionListed {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 10px;
    background: #1C1E21;
    border: 1px solid #202124;
    font-family: 'Inter';
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    transition: all .3s;
    outline: none;
    white-space: nowrap;
    color: var(--color-text);
}

[data-theme="light"] .suggestionListed {
    background: #E9EBF1;
    border-color: #D4D6DC;
    color: #000;
}

.suggestionListed .btn-chip-close {
    width: 15px;
    height: 15px;
    min-width: 15px;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    box-sizing: content-box;
}

.suggestionListed .btn-chip-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .suggestionListed .btn-chip-close {
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .suggestionListed .btn-chip-close:hover {
    background: rgba(0, 0, 0, 0.15);
}

.suggestionListed .btn-chip-close img {
    width: 7px;
    height: 7px;
    filter: invert(1);
}

[data-theme="light"] .suggestionListed .btn-chip-close img {
    filter: none;
}

/* SUGGESTIONS */

/* ==================== LIGHT THEME OVERRIDES ==================== */
[data-theme="light"] .notification {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 16.1px 0 rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .notification-title {
    color: #1A1A1A;
}

[data-theme="light"] .notification-text {
    color: #737373;
}

[data-theme="light"] .notification-close {
    color: #737373;
}

[data-theme="light"] .notification-close:hover {
    background-color: #E0E2E6;
    color: #1A1A1A;
}

[data-theme="light"] .loader {
    background-color: var(--bg-body);
}

[data-theme="light"] .naui-icon {
    filter: invert(1);
}

.platform {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #3a3f4b;
    background: #2A2E37;
    color: var(--color-text);
    white-space: nowrap;
}

[data-theme="light"] .platform {
    background: #DFE4EC;
    border-color: #DAE4F5;
    color: #1A1A1A;
}

.theme-btn {
    background: var(--bg-btnSecondary) !important;
    border-color: var(--border-btnSecondary) !important;
}