:root {
    /* Color Palette */
    --bg-dark: #09090b;
    --text-primary: #fafafa;
    --text-secondary: #ffffffcc;
    --text-muted: #b5b5bc;
    --highlight: #ffffff80;
    --bg-input: #ffffff14;
    --button-bg: #ffffff;

    /* Font Sizes */
    --font-large: 20px;
    --font-medium: 15px;
    --font-small: 14px;
    --font-extra-small: 13px;

    /* Spacing */
    --gap-large: 24px;
    --gap-medium: 12px;
    --gap-small: 8px;

    /* Other */
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




.notification-wrapper {
    width: 451px;
    height: 94px;
    background-color: #ffffff05;
    border-radius: 16px;
    border: 1px solid;
    border-color: #27272acc;
    position: fixed;
    bottom: 20px;
    right: -500px;
    display: none;
    z-index: 1000;
    transition: right 0.5s ease; /* Animation for sliding */
}

.notification-wrapper.show {
    right: 20px; /* Slide in to this position */
}

.notification-wrapper.hide {
    right: -500px; /* Slide out to this position */
}

.notification-wrapper .notification {
    display: flex;
    flex-direction: column;
    width: 403px;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    top: 24px;
    left: 24px;
}

.notification-wrapper .text-wrapper {
    position: relative;
    align-self: stretch;
    height: 24px;
    margin-top: -1px;
    font-family: "Inter-SemiBold", Helvetica;
    font-weight: 600;
    color: #fafafa;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 24px;
    white-space: nowrap;
}

.notification-wrapper .div {
    position: relative;
    align-self: stretch;
    height: 18px;
    font-family: "Inter-Regular", Helvetica;
    font-weight: 400;
    color: #a1a1aa;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 20px;
    white-space: nowrap;
}


html, body {
    font-family: "Inter", Helvetica, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    height: 100%;
    margin: 0;
}

.create {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center the content vertically */
    text-align: center;
    min-height: calc(100vh - 100px); /* Adjust for footer space */
    padding-bottom: 50px; /* Space for the footer */
}

.group {
    position: relative; /* Use relative positioning instead of absolute */
    width: 451px;
    max-width: 100%; /* Ensure responsiveness */
    margin: 0 auto; /* Center horizontally */
}


.frame {
    width: 100%;
    gap: var(--gap-large);
    display: flex;
    flex-direction: column;
}

.heading-search {
    font-family: "Inter-SemiBold", Helvetica, sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-large);
    line-height: 1.2;
}

.text-wrapper {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-weight: 400;
    color: var(--text-secondary);
    font-size: var(--font-medium);
    line-height: 1.5;
    text-align: left;
}

.frame-3 {
    gap: var(--gap-medium);
    display: flex;
    flex-direction: column;
}

.form-input {
    position: relative;
    width: 100%;
    height: 48px;
    background-color: var(--bg-input);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    padding-left: 12px;
    box-sizing: border-box;
    font-size: 10px;
}

.wallet-input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    font-size: var(--font-small);
    color: var(--text-primary);
    outline: none;
}

.wallet-input::placeholder {
    color: var(--highlight);
}

.overlap-group-wrapper {
    width: 100%;
    height: 48px;
    max-width: 450px;
    margin: 0;
}

.overlap-group {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-image: url(images/background.png);
    background-size: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.frame-2 {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-left: 3px;

}

.request-button-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    background: linear-gradient(90deg, #0E141C, #183540, #102021);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    color: var(--highlight);
    font-family: "Inter-SemiBold", Helvetica, sans-serif;
    font-size: var(--font-small);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-info {
    color: var(--text-muted);
    font-size: var(--font-extra-small);
}

.request-button-disabled svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.text-block {
    text-align: center;
    padding: 10px;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: var(--font-medium);
}

.request-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    background: linear-gradient(90deg, #13212E, #2B6275, #173434);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    font-family: "Inter-SemiBold", Helvetica, sans-serif;
    font-size: var(--font-small);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.request-button-disabled:active {
    transform: scale(0.98);
}
.risorsa {
    position: fixed; /* Keep the logo fixed at the top */
    top: 20px; /* Add some spacing from the top */
    left: 50%; /* Center the logo horizontally */
    transform: translateX(-50%); /* Adjust to perfectly center */
    width: 7%; /* Resize for mobile screens */
    height: auto;
    object-fit: contain;
    z-index: 1000; /* Ensure it stays on top */
}


.p {
    position: absolute;
    top: 732px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .create {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .div {
        width: 100%;
        max-width: 500px;
        height: auto;
        margin: 0 auto;
        padding: 20px;
    }

    .group {
        width: 100%;
        max-width: 450px;
        padding: 10px;
        margin: 0 auto;
    }

    .frame {
        width: 100%;
        text-align: center;
    }

    .heading-search {
        font-size: 18px;
        text-align: center;
    }

    .text-wrapper {
        font-size: 14px;
        text-align: left; /* Align the text to the left */
    }

    .form-input {
        width: 100%;
        margin: 0 auto;
    }

    .request-button-disabled {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    .risorsa {
        position: fixed; /* Keep the logo fixed at the top */
        top: 32px; /* Add space from the top */
        left: 50%; /* Center the logo */
        transform: translateX(-50%);
        width: 25%; /* Adjust size for mobile */
        margin-bottom: 0; /* Remove unnecessary bottom margin */
    }

    .p {
        text-align: center;
    }

}

@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) {
    .form-select {
        line-height: 1.5; /* Adjust for iOS rendering */
        padding-right: 30px; /* Ensure no overlap with the custom arrow */
    }
}






@media (max-width: 768px) {
    .notification-wrapper {
        width: 300px; /* Larghezza ridotta */
        padding: 6px 12px; /* Spaziatura interna ridotta */
        background-color: #ffffff05; /* Mantiene il colore */
        border-radius: 8px; /* Bordo leggermente più piccolo */
        border: 1px solid #27272acc; /* Stile del bordo invariato */
        top: 65px; /* Posizionata vicino al logo */
        left: 50%; /* Centrato orizzontalmente */
        transform: translateX(-50%); /* Allineamento perfetto */
        bottom: auto; /* Disabilitato per mobile */
        right: auto; /* Disabilitato per mobile */
        display: none; /* Mantiene la visibilità controllata */
        z-index: 1000;
        transition: opacity 0.5s ease; /* Mantiene la transizione */
        box-sizing: border-box; /* Assicura che padding non sfori i bordi */
    }

    .notification-wrapper.show {
        opacity: 1; /* Mostra la notifica */
        display: flex; /* Imposta visibilità per mobile */
    }

    .notification-wrapper .notification {
        display: flex;
        flex-direction: column; /* Posizionamento verticale */
        gap: 2px; /* Spaziatura minima tra titolo e testo */
        align-items: flex-start; /* Allinea il contenuto a sinistra */
        width: 100%; /* Adatta alla larghezza della notifica */
        margin: 0; /* Rimuove margini extra */
    }

    .notification-wrapper .text-wrapper {
        font-size: 12px; /* Font più piccolo */
        line-height: 16px; /* Linea compatta */
        margin: 0; /* Nessun margine */
        padding: 0; /* Nessun padding extra */
        white-space: normal; /* Permette il testo su più righe */
        overflow: hidden; /* Evita che il testo esca dai bordi */
        text-overflow: ellipsis; /* Aggiunge i tre punti se il testo è troppo lungo */
        align-self: stretch; /* Allinea il titolo con il contenitore */
    }

    .notification-wrapper .div {
        font-size: 11px; /* Font più piccolo */
        line-height: 14px; /* Linea compatta */
        margin: 0; /* Nessun margine */
        padding: 0; /* Nessun padding extra */
        white-space: normal; /* Permette il testo su più righe */
        overflow: hidden; /* Evita che il testo esca dai bordi */
        text-overflow: ellipsis; /* Aggiunge i tre punti se il testo è troppo lungo */
        align-self: stretch; /* Allinea il testo con il contenitore */
    }
}

/* Contenitore della select */
.form-select-custom {
    position: relative;
    background-color: var(--bg-input);
    color: var(--text-primary);
    height: 48px; /* Altezza uniforme */
    padding: 0 12px; /* Rimuove il padding verticale per centrare il testo */
    display: flex;
    align-items: center; /* Centra verticalmente il testo */
    border: none; /* Rimuove qualsiasi bordo */
    border-radius: var(--border-radius);
    font-size: var(--font-small);
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    text-align: left; /* Allinea il testo a sinistra */
}

/* Freccia personalizzata */
.form-select-custom::after {
    content: "▼";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--font-small);
    color: var(--text-muted);
    pointer-events: none; /* Rende la freccia non cliccabile */
}

/* Testo del valore selezionato */
.select-value {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 20px; /* Spazio prima della freccia */
}

/* Menu delle opzioni */
.select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    border-radius: var(--border-radius);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Opzioni */
.select-option {
    padding: 12px; /* Stessa spaziatura delle select originali */
    height: 48px; /* Altezza uniforme */
    display: flex;
    align-items: center; /* Centra il testo verticalmente */
    font-size: var(--font-small);
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.select-option:hover {
    background-color: var(--bg-input);
}

/* Mostra il menu */
.form-select-custom.open .select-options {
    display: block;
}

/* Mobile-friendly */
@media (max-width: 768px) {
    .form-select-custom {
        font-size: 12px;
        height: 40px; /* Ridotta per mobile */
    }

    .select-option {
        font-size: 12px;
        height: 40px; /* Altezza uniforme per mobile */
    }
}

/* remove a tag color */
a {
    color: inherit;
}