/* styles.css */
.circular-loading-container {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
    margin-left: 12px;

    .loading-progress {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        position: relative;
        border: 0;
        background: conic-gradient(rgba(22, 22, 26, 0.95) 0deg, var(--modal-background) 0deg);
        animation: spin 5s linear infinite;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .loading-progress::before {
        content: "";
        position: absolute;
        height: 8px;
        width: 8px;
        border-radius: 50%;
        background-color: var(--container-background);
        animation: spin 5s linear infinite;
    }
}

.code-input-container {
    margin: 16px auto 0 auto;
    padding-bottom: 8px;
    max-width: 370px;
    width: 100%;
    display: flex;
    justify-content: space-between;

    input[type='text'] {
        width: 28px !important;
        height: 28px !important;
        text-align: center;
        font-size: 18px !important;
        border-radius: 5px !important;
        margin: 4px;
        background-color: var(--input-color) !important;
        color: var(--font-color) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding: 10px !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        -webkit-appearance: none;
        outline: none;
    }
}

.shadow-button {
    display: block;
    background-color: var(--input-color);
    border-radius: 8px;
    padding: 0.8em 1.2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: fit-content;
    height: fit-content;
    text-decoration: none;
    font-size: 16px;
}

.shadow-button.green {
    color: var(--connect-green);
}

.scroll-box {
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-top: 16px;
    border-radius: 8px;
}

.push-notification-area {
    position: absolute;
    bottom: 32px;
    right: 32px;
    line-height: 1.3;
    z-index: 9000;

    .push-notification-container {
        transition: opacity 0.5s ease-out;
        padding: 1em 1.4em;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background-color: #1d1d21;
        color: var(--font-color);
        font-size: 16px;
        font-weight: 525;
        max-width: 325px;
        width: 100vw;
        display: flex;
        flex-direction: row;
        align-items: center;
        position: absolute;
        bottom: 0;
        right: 0;

        .push-notification-icon {
            margin-right: 12px;
            font-size: 20px;
            width: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }

    .push-notification-container:nth-child(n) {
        display: none;
    }

    .push-notification-container:nth-last-child(3) {
        bottom: 20px;
        right: -20px;
        display: flex;
        z-index: 9001;
    }

    .push-notification-container:nth-last-child(2) {
        display: flex;
        right: -10px;
        bottom: 10px;
        z-index: 9002;
    }

    .push-notification-container:last-child {
        display: flex;
        z-index: 9003;
    }
}

.he-glow {
    transition: background 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;

    &:hover {
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.7), 0 0 8px rgba(255, 255, 255, 0.5); /* Glowing effect */

        &.he-google {
            box-shadow: 0 0 10px rgba(59, 124, 211, 0.7), 0 0 20px rgba(72, 138, 245, 0.5); /* Google-themed glow */
        }

        &.he-microsoft {
            box-shadow: 0 0 10px rgba(92, 138, 0, 0.7), 0 0 20px rgba(127, 186, 0, 0.5); /* Microsoft-themed glow */
        }

        &.he-discord {
            box-shadow: 0 0 10px rgba(74, 107, 196, 0.7), 0 0 20px rgba(88, 101, 242, 0.5); /* Discord-themed glow */
        }

        &.he-github {
            box-shadow: 0 0 10px rgba(13, 17, 23, 0.7), 0 0 20px rgba(22, 27, 34, 0.5); /* Discord-themed glow */
        }

        &.he-green {
            box-shadow: 0 0 10px rgba(0, 255, 108, 0.7), 0 0 20px rgba(0, 255, 108, 0.5); /* Custom green glow */
        }

        &.he-red {
            box-shadow: 0 0 10px rgba(255, 37, 58, 0.7), 0 0 20px rgba(255, 37, 58, 0.5); /* Custom red glow */
        }

        &.he-blue {
            box-shadow: 0 0 10px rgba(13, 110, 253, 0.7), 0 0 20px rgba(13, 110, 253, 0.5); /* Custom blue glow */
        }
    }
}


.btn {
    padding: 0.8em 1.2em;
    background: rgba(27, 28, 34, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    text-decoration: none;

    &.green {
        color: var(--connect-green);
    }

    &.light {
        background: linear-gradient(180deg, #242629FF, #1b1c22);
    }

    &.x1_8-round {
        border-radius: 22px;
    }

    &.green-b {
        border-color: var(--connect-green);
    }
}

.info-field {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: #1b1c2280;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-field {
    color: var(--font-color);
    -webkit-appearance: none;
    outline: none;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(42, 42, 42, 0.3);
}

.info {
    color: var(--font-color);

    &.title {
        font-size: 16px;
        font-weight: 500;
        opacity: 0.7;

        .modify-value {
            margin-left: 8px;
            font-size: 14px;
        }
    }

    &.value {
        margin-top: 1px;
        font-size: 18px;
        font-weight: 600;
        overflow: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
        -webkit-appearance: none;
        outline: none;
    }
}

.container-header {
    font-size: 22px;
    padding-bottom: 24px;
    opacity: 0.7;
    font-weight: 600;
}

.container-subheader {
    font-size: 19px;
    padding-bottom: 8px;
    opacity: 0.7;
    font-weight: 600;
}

.fit-row {
    display: flex;
    justify-content: unset !important;
}

.fit-row a:first-child {
    margin: 0;
}

@media (max-width: 1200px) {
    .push-notification-area {
        position: absolute;
        top: calc(48vh);
        right: unset;

        .push-notification-container {
            background-color: #2b2d30;
            max-width: calc(360px - 2.8em);
            position: relative;

        }


        .push-notification-container:nth-child(n) {
            display: none;
        }

        .push-notification-container:last-child {
            display: flex;
        }
    }
}

@media (max-width: 950px) {
    .btn {
        padding: 0.6em 0.9em;
        font-size: 15px;
    }
}
