/*///////////////////////////////////////////*/
/* Start Code*/
/* #region Main */
:root {
    /* Primary Colors */
    --primary-brand-color: #00cec9;
    --primary-brand-hover: #43A047;
    --secondary-brand-color: #16213e;
    --accent-color: #6a11cb;

    /* Neutral Colors */
    --background-dark: #1b1b1b;
    --text-light: #ffffff;
    --text-muted: rgb(95, 93, 93);
    --icon-color: #ffffff;

    /* Glassmorphism/Transparency */
    --glass-background: rgba(50, 50, 65, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    --glass-item-background: rgba(255, 255, 255, 0.05);
    --glass-item-border: rgba(255, 255, 255, 0.1);
    --glass-item-hover: rgba(255, 255, 255, 0.1);
    --dark-glass-background: linear-gradient(145deg, rgba(10, 10, 20, 0.8), rgba(30, 30, 50, 0.6));
    --dark-glass-border: rgba(255, 255, 255, 0.15);

    /* Danger Colors */
    --danger-color: #F44336;
    --danger-hover: #E53935;

    /* Backgrounds */
    --body-background: linear-gradient(145deg, #0d0d2b, #1a1a5e52, #4c008250, #ff006633, #00ffcc4f), black;
    --connect-button-background: linear-gradient(135deg, #252836, #1b1e2f);
    --connected-button-background: linear-gradient(135deg, #00b894, #065f46);
    --connected-button-hover-background: linear-gradient(135deg, #00cec9, #065f46);
    --connecting-button-shadow: rgba(255, 255, 255, 0.3);
    --ip-ping-background: #4e3f3f42;
    --setting-background: linear-gradient(135deg, #0b0618, #1a132b);
    --menu-background: linear-gradient(145deg, rgba(25, 25, 35, 0.85), rgba(30, 30, 40, 0.85));
    --menu-item-background: linear-gradient(145deg, rgba(45, 45, 55, 0.6), rgba(35, 35, 45, 0.8));
    --menu-item-hover-background: linear-gradient(145deg, rgba(60, 60, 70, 0.8), rgba(50, 50, 60, 0.9));
    --log-background: rgba(0, 0, 0, 0.85);
    --log-item-background: rgba(0, 255, 155, 0.05);
    --log-text-color: #00ff9c;
    --log-button-hover: #00ff9c;
    --log-command-background: rgba(0, 255, 155, 0.05);
    --modal-background: #16213e;
    --prompt-background: #1b1b1b;
    --prompt-content-background: #2c3e50;
    --button-default-background: #1b1b1b;
    --dropdown-background: #1b1b1b;
    --dropdown-hover-background: rgba(131, 56, 236, 0.5);
    --select-background: #151025;
    --select-hover-background: #1a132b;
    --select-focus-background: #21183e;
    --select-option-background: #1a132b;
    --select-option-hover-background: #2a1c4b;
    --switch-off-background: #222;
    --switch-on-background: #0974f1;
    --switch-thumb-off: linear-gradient(145deg, #ffffff, #d0d0d0);
    --switch-thumb-on: #fff;


    /* Shadows and Borders */
    --box-shadow-medium: 0px 4px 20px rgba(0, 0, 0, 0.2);
    --border-radius-default: 8px;
    --header-button-hover-color: var(--accent-color);
    --connected-box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1), 0 20px 50px rgba(0, 0, 0, 0.5);
    --connected-item-hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    --change-status-shadow: 0 0 10px rgba(47, 53, 66, 0.5);
    --change-status-hover-shadow: 0 0 15px rgba(47, 53, 66, 0.7);
    --change-status-connected-shadow: 0 0 25px rgba(0, 200, 150, 0.7);
    --server-select-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    --server-select-border-hover: rgba(255, 255, 255, 0.2);
    --server-flag-border: rgba(255, 255, 255, 0.2);
    --server-flag-hover-border: rgba(255, 255, 255, 0.4);
    --server-flag-hover-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    --server-mini-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    --server-mini-border: rgba(255, 255, 255, 0.15);
    --setting-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
    --setting-border-left: rgba(255, 255, 255, 0.08);
    --setting-heading-shadow: 0px 0px 8px rgba(178, 255, 89, 0.5);
    --setting-heading-line: var(--accent-color);
    --setting-button-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    --setting-button-hover-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    --content-image-border: #1A1A1A;
    --content-image-border-image: linear-gradient(45deg, #2A2A5A, #055c50, #7b08c9) 1;
    --content-image-shadow: 0px 0px 30px 6px rgba(15, 50, 120, 0.5);
    --content-image-hover-shadow: 0px 0px 35px 7px rgba(8, 27, 90, 0.6);
    --content-image-background: rgba(44, 44, 44, 0.2);
    --log-command-border: #00ff9c;
    --log-command-shadow: 0 0 12px rgba(0, 255, 155, 0.3);
    --message-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    --prompt-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    --button-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    --select-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --select-hover-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    --select-focus-shadow: 0 0 5px 2px var(--accent-color);
    --dropdown-shadow: 0px 8px 16px rgba(55, 49, 68, 0.5);
    --input-border: #ccc;
    --switch-border: rgba(255, 255, 255, 0.15);
    --switch-thumb-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    --switch-checked-shadow: 0 0 10px rgba(9, 117, 241, 0.6);

    /* Spacing */
    --default-padding: 20px;
}

* {
    box-sizing: border-box;
    font-family: "Vazir";
}

@font-face {
    font-family: 'Vazir';
    src: url('../assets/fonts/Vazirmatn-Medium.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
}

body {
    flex-direction: column;
    flex-wrap: wrap;
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: var(--text-light);
    background: var(--body-background);
    background-size: 300% 300%;
}

h1 {
    color: var(--text-muted);
    font-size: 16px;
    text-align: center;
    flex: 0 1 100%;
}

h2 {
    margin-top: 2rem;
    font-size: 18px;
}

img {
    border-radius: var(--border-radius-default);
}

.header {
    position: fixed;
    top: 0;
    left: 0%;
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: start;
    z-index: 1;
}

.header button {
    border-radius: 50%;
    background-color: transparent;
    color: var(--icon-color);
    cursor: pointer;
    font-size: 2.3em;
    border: none;
    padding: 0;
    margin: 0;
    transition: 0.5s;
}

.header button:hover {
    color: var(--header-button-hover-color);
}

.connection {
    margin: auto;
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.connection.connected {
    margin-bottom: auto;
}

.connection.connected .connected-box {
    display: flex;
    flex-direction: column;
}

.connected-box {
    display: none;
    justify-content: center;
    align-items: center;
    background: var(--dark-glass-background);
    border-radius: 20px;
    border: 1px solid var(--dark-glass-border);
    box-shadow: var(--connected-box-shadow);
}

#connected-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: clamp(280px, 75%, 400px);
    padding: 0.5rem 1.5rem;
}

.connected-item {
    background: var(--glass-item-background);
    border: 1px solid var(--glass-item-border);
    border-radius: 12px;
    padding: 12px 18px;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.connected-item:hover {
    background: var(--glass-item-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--connected-item-hover-shadow);
}

#connected-country::before {
    content: "🌍";
    margin-right: 8px;
}

#connected-ping::before {
    content: "⚡";
    margin-right: 8px;
}

#connected-status::before {
    content: "🟢";
    margin-right: 8px;
}

#connected-bypass::before {
    content: "🚀";
    margin-right: 8px;
}

#ChangeStatus {
    width: 150px;
    height: 150px;
    border: none;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(6px);
    color: var(--accent-color, #00ffd0);
    font-size: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

#ChangeStatus i {
    transition: transform 0.3s ease, color 0.3s ease;
}

#ChangeStatus::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-color, #00ffd0) 0%, transparent 70%);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#ChangeStatus:hover::before {
    opacity: 0.2;
}

#ChangeStatus:hover {
    background: linear-gradient(135deg, var(--primary-brand-color, #00c6ff), var(--secondary-brand-color, #0072ff));
    color: white;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#ChangeStatus:hover i {
    color: #ffffff;
}

#ChangeStatus.connected {
    background: var(--connected-button-background, #00c99c);
    color: white;
    animation: pulseConnected 2.4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.6);
}

#ChangeStatus.connected:hover {
    background: var(--connected-button-hover-background, #00a97c);
}

#ChangeStatus.connected i {
    transform: scale(1.15);
    color: #ffffff;
}

#ChangeStatus.connected:hover i {
    transform: rotate(360deg) scale(1.2);
    color: #fff987;
}

@keyframes pulseConnected {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 255, 157, 0.8);
    }
}

#ChangeStatus.connecting {
    background: #0c0f14;
    animation: glowSpin 2s linear infinite, shimmerPulse 4s ease-in-out infinite;
    color: var(--accent-color, #00ffd0);
    position: relative;
    box-shadow: 0 0 28px var(--connecting-button-shadow, rgba(0, 217, 255, 0.3));
}

#ChangeStatus.connecting::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-brand-color, #00c6ff), var(--accent-color, #00ffd0), var(--primary-brand-color, #00c6ff));
    animation: rotateRing 1.8s linear infinite;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.4;
    pointer-events: none;
}

#ChangeStatus.connecting i {
    animation: pulseIcon 1.6s ease-in-out infinite;
}

@keyframes rotateRing {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes glowSpin {

    0%,
    100% {
        z-index: 0;
        box-shadow: 0 0 0px var(--accent-color);
    }

    50% {
        box-shadow: 0 0 30px var(--accent-color);
    }
}

@keyframes shimmerPulse {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(127, 0, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 45px rgba(127, 0, 255, 0.6);
    }
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }
}

#ip-ping {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: auto;
    transition: transform 0.4s ease;
    padding: 0.5em 1em;
    box-sizing: border-box;
    border-radius: var(--border-radius-default);
    background-color: var(--ip-ping-background);
}

#ip-ping:hover {
    transform: scale(1.1);
}

#ip-ping.connected {
    display: none;
}

#ip-ping b {
    margin-left: 1vw;
}

/* #endregion Main */
/* #region Server Selector */
.box-select-server {
    display: none;
    position: fixed;
    box-sizing: border-box;
    top: 10vh !important;
    right: 4%;
    width: 88%;
    height: 77%;
    overflow-y: auto;
    border-radius: var(--border-radius-default);
    transition: all 0.4s ease-in-out;
    flex-direction: column;
    background: var(--glass-background);
    color: white;
    z-index: 999;
    box-shadow: var(--box-shadow-medium);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.box-select-server>.header-box-select-server {
    position: sticky;
    gap: 1vw;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    font-size: 1.3em;
    background: var(--glass-background);
    box-shadow: var(--box-shadow-medium);
    color: var(--accent-color);
}

.box-select-server>.header-box-select-server b {
    display: flex;
    align-items: center;
    transition: 0.3s;
    border-radius: 50%;
}

.box-select-server>.header-box-select-server b:hover {
    background-color: var(--button-default-background);
}

.box-select-server>.box-select-servers {
    padding: var(--default-padding);
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text-light)
}

.box-select-server.show {
    display: flex !important;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.box-select-server::-webkit-scrollbar {
    width: 8px;
}

.box-select-server::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2b1055, var(--accent-color));
    border-radius: 0px;
}

.box-select-server::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.box-select-server>.box-select-servers>div {
    display: flex;
    align-items: center;
    padding-left: 14px;
    border-radius: var(--border-radius-default);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.box-select-server>.box-select-servers>div:hover {
    background: var(--secondary-brand-color);
    transform: translateY(-3px);
    box-shadow: var(--server-select-shadow);
    border-color: var(--server-select-border-hover);
}

.box-select-server>.box-select-servers>div:active {
    transform: scale(0.97) translateY(-1px);
}

.box-select-server>.box-select-servers>div>img {
    width: 2.7em;
    height: 2.7em;
    margin-right: 12px;
    border-radius: 50%;
    border: 2px solid var(--server-flag-border);
    transition: all 0.3s ease-in-out;
    object-fit: cover;
}

.box-select-server>.box-select-servers>div:hover>img {
    transform: scale(1.1);
    border-color: var(--server-flag-hover-border);
    box-shadow: var(--server-flag-hover-shadow);
}

.box-select-server>.box-select-servers>div>span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    flex-grow: 1;
    letter-spacing: 0.4px;
}

.box-select-server #selected-server {
    background-color: var(--accent-color);
    color: white;
}

.box-select-server #selected-server::before {
    content: "";
    position: absolute;
    height: 100%;
    transition: width 0.5s, border-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    width: 6px;
    left: 0;
    border-left: 5px solid var(--primary-brand-color);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.server-menu {
    position: absolute;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 8px;
    display: flex;
    gap: 1vw;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
}

.server-menu button {
    background: none;
    border: none;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    display: flex;
    gap: 1.5vw;
    border-radius: var(--border-radius-default);
}

.server-menu button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.box-select-server-mini {
    background: rgba(20, 20, 35, 0.75);
    position: fixed;
    bottom: 3vh;
    border-radius: 10px;
    width: 80vw;
    max-width: 450px;
    height: auto;
    margin-top: 1.5vh;
    padding: 6px 12px;
    font-size: 16px;
    align-items: center;
    box-shadow: var(--server-mini-shadow);
    transition: transform 0.2s ease-in-out, background 0.3s ease-in-out;
    border: 1px solid var(--server-mini-border);
    display: flex;
    color: var(--switch-thumb-on);
}

.box-select-server-mini:hover {
    background: rgba(35, 35, 55, 0.85);
    transform: scale(1.01);
}

.box-select-server-mini #flagOfServer {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    border-radius: var(--border-radius-default);
}

.box-select-server-mini #flagOfServer img {
    margin: 6px 10px;
    border-radius: var(--border-radius-default);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.box-select-server-mini #flagOfServer img:hover {
    transform: scale(1.08);
}

/*#endregion */
/* #region Setting */

.divider {
    height: 1px;
    padding: 0 !important;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 8px 0;
    border: none;
}

#setting-app {
    position: fixed;
    display: none;
    right: 0;
    top: 0;
    width: 75%;
    height: 100%;
    background: var(--setting-background);
    overflow-y: auto;
    z-index: 999;
    box-shadow: var(--setting-shadow);
    border-left: 2px solid var(--setting-border-left);
    border-radius: 10px 0 0 10px;
    padding: 20px 10px;
    box-sizing: border-box;
}

#setting-app #nav-top {
    position: sticky;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--modal-background);
    width: 100%;
    min-height: 8vh;
    padding: 5px;
    z-index: 10;
    border-radius: 999px;
    box-shadow: 0px 0px 8px var(--accent-color);
}

#setting-app h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s;
    padding: 0.3em;
}

#setting-app h3:hover {
    color: var(--accent-color);
}


#setting-app h3:not(.not-sect)::after {
    content: "";
    position: relative;
    margin: 0.1em;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s ease;
}

#setting-app h3.active::after {
    transform: translateY(-50%) rotate(225deg);
    border-color: var(--accent-color);
}

#setting-app h3::before {
    content: "";
    position: absolute;
    left: -10px;
    width: 5px;
    top: 5%;
    height: 75%;
    background: var(--setting-heading-line);
    border-radius: 3px;
}

#setting-app h3.right::before {
    right: -5px;
}

#setting-app>div,
#setting-app section>div {
    width: 95%;
    padding: 0.4em;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 6px;
    box-sizing: border-box;
}

#setting-app b {
    color: var(--text-light);
    margin: 0 10px;
    font-size: 1.15em;
    font-weight: 500;
}

#close-setting {
    width: 50px;
    height: 50px;
    font-size: 24px;
    border: none;
    background-color: transparent;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

#close-setting:hover {
    transform: scale(1.1);
}

#setting-app input[type="text"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1.15em;
    color: var(--text-light);
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    box-sizing: border-box;
}

#setting-app input[type="text"]:focus {
    border-color: var(--primary-brand-color);
    box-shadow: 0 0 10px var(--primary-brand-color);
}

#setting-app .btn {
    background: var(--accent-color);
    color: var(--text-light);
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: var(--setting-button-shadow);
}

#setting-app .btn:hover {
    background: var(--button-default-background);
    transform: scale(1.08);
}

/* #endregion */
/* #region Menu */
#menu {
    position: fixed;
    left: 0;
    width: fit-content;
    margin: auto;
    height: fit-content;
    backdrop-filter: blur(10px);
    background: var(--menu-background);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 100;
    transition: all 0.3s;
    border-radius: 0 20px 20px 0;
    box-shadow: var(--box-shadow-medium);
    animation: glowSpin 5s ease;
}

#menu.show {
    align-items: start;
}

#menu.show span {
    width: fit-content;
    display: inline;
}

#menu.show>div {
    border-radius: var(--border-radius-default);
    justify-content: start;
    width: 100%;
    gap: 15px;
    font-size: 1.1em;
    padding: 0.5em 1.5em;
}

#menu span {
    display: none;
}

#menu>div {
    background: var(--menu-item-background);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    padding: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

#menu>div:hover {
    background: var(--menu-item-hover-background);
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#menu>div:hover i {
    color: var(--accent-color);
}

.tooltip-box {
    position: absolute;
    background: var(--modal-background);
    color: var(--text-light);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 9999;
    display: none;
}

.content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 98vh;
    width: 100vw;
    flex-direction: column;
    flex-wrap: wrap;
    color: #fff;
    font-size: 1.5rem;
    margin: 5px;
}

.content img {
    margin: 30px;
    border: 5px solid var(--content-image-border);
    border-image: var(--content-image-border-image);
    border-radius: 8px;
    box-shadow: var(--content-image-shadow);
    animation: fadeInScale 2.8s ease-in-out infinite alternate;
    transform: scale(1.05);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    background: var(--content-image-background);
}

.content img:hover {
    transform: scale(1.1);
    box-shadow: var(--content-image-hover-shadow);
}

@keyframes fadeInScale {
    0% {
        opacity: 0.7;
        transform: scale(0.9) rotate(-5deg);
        filter: blur(3px);
    }

    30% {
        opacity: 0.9;
        transform: scale(1) rotate(2deg);
        filter: blur(1.5px);
    }

    50% {
        opacity: 1;
        transform: scale(1.15) rotate(0deg);
        filter: blur(0);
    }

    70% {
        transform: scale(1.2) rotate(-2deg);
    }

    90% {
        transform: scale(1.25) rotate(3deg);
        filter: blur(1px);
    }

    100% {
        opacity: 0.8;
        transform: scale(0.8) rotate(-5deg);
        filter: blur(3px);
    }
}

.content #text-hashtag {
    align-self: flex-end;
    justify-self: flex-end;
}

/*#endregion*/
/* #region other div */
#Logs {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at center, #000 60%, #0f0 200%);
    background: var(--log-background);
    z-index: 99999;
    font-family: 'Courier New', monospace;
    color: var(--log-text-color);
    animation: fadeInZoom 0.5s ease-out forwards;
    width: 100%;
    max-height: 100%;
}

#Logs #OptionsLogs {
    position: absolute;
    top: 2vh;
    left: 2vw;
    display: flex;
    gap: 12px;
    z-index: 10000;
}

#Logs button {
    font-size: 1.5em;
    background: transparent;
    color: var(--log-text-color);
    border-radius: 6px;
    border: none;
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

#Logs #OptionsLogs button:hover {
    background-color: var(--log-button-hover);
    color: #000;
    box-shadow: 0 0 10px var(--log-button-hover);
}

#Logs #LogsContent {
    margin-top: 10vh;
    max-height: 80%;
    padding: 2vh 3vw;
    overflow: auto;
}

#Logs #LogsContent p {
    margin: 10px 0;
    padding: 12px 18px;
    background: var(--log-item-background);
    border-left: 3px solid var(--log-text-color);
    font-size: 1.1em;
    color: var(--log-text-color);
    border-radius: 6px;
    animation: logDrop 0.4s ease;
    word-wrap: break-word;
}

#Logs .command-line-fg {
    position: fixed;
    backdrop-filter: blur(5px);
    bottom: 1vh;
    left: 4%;
    display: flex;
    width: 92%;
    background: var(--log-command-background);
    border: 1px solid var(--log-command-border);
    border-radius: 10px;
    box-shadow: var(--log-command-shadow);
    padding: 8px;
    gap: 10px;
}

#Logs .command-line-fg input,
#Logs .command-line-fg textarea {
    flex: 1;
    background: transparent;
    color: var(--log-text-color);
    border: none;
    font-size: 1.1em;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    resize: none;
    outline: none;
}

@keyframes fadeInZoom {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-backdrop {
    z-index: -1;
}

#message {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 15px 20px;
    width: 30%;
    min-width: 250px;
    max-width: 400px;
    background: var(--modal-background);
    position: fixed;
    bottom: 2%;
    right: 2%;
    border-radius: 10px 10px 0 10px;
    box-shadow: var(--message-shadow);
    z-index: 100000;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

#message.show-message {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

#HelpMess {
    width: 30vw;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f1e9f2;
    position: absolute;
    color: black;
    border-radius: 15px;
}

#prompt {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--prompt-background);
    padding: var(--default-padding);
    border-radius: var(--border-radius-default);
    box-shadow: var(--box-shadow-medium);
    min-width: 380px;
    max-width: 90%;
    width: fit-content;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10000;
    transition: all 0.3s ease-in-out;
}

#prompt.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
}

#prompt-title {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.prompt-container {
    background: var(--prompt-content-background);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--prompt-shadow);
    text-align: center;
}

.prompt-buttons {
    margin-top: 10px;
}

.prompt-buttons button {
    padding: 8px 15px;
    background-color: var(--secondary-brand-color);
    color: white;
    border: none;
    border-radius: 15px;
    margin: 5px;
    cursor: pointer;
}

/* #endregion */
/* #region Components*/
.input {
    color: var(--text-light);
    font-size: 0.9rem;
    background-color: transparent;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 0.5em;
    padding-block: 0.7em;
    border: none;
    border-bottom: var(--border-height) solid var(--border-before-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
}

a {
    text-decoration: none;
}

.form-control-c {
    position: relative;
    --width-of-input: 300px;
}

.input-alt {
    font-size: 1.2rem;
    padding-inline: 1em;
    padding-block: 0.8em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.box {
    color: var(--text-light);
    display: none;
    width: 80%;
    max-width: 600px;
    text-align: center;
    height: auto;
    position: absolute;
    justify-content: center;
    align-items: center;
    background: var(--modal-background);
    flex-direction: column;
    z-index: 99999;
    border-radius: 20px;
    gap: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.box.flex-row,
.flex-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5vw;
}

.flex {
    display: flex;
}

.box .close-btn {
    font-size: 1.5em;
    position: absolute;
    color: var(--danger-color);
    font-weight: bolder;
    height: fit-content;
    padding: 0.3em 0.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 10px;
    right: 10px;
    width: fit-content;
}

.box[style="display: block;"] {
    display: flex !important;
    gap: 0.5em;
}

.box div {
    border-radius: 12px;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.1em;
}

.box div {
    cursor: pointer;
}

.box.flex-col,
.flex-col {
    flex-direction: column !important;
    align-items: center;
}
.flex-center {
    display: flex;
    align-items: center;
}
.btn-box {
    display: flex;
    gap: 1rem;
}

.btn:hover {
    transform: scale(1.1);
    background-color: var(--accent-color);
}

.btn {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    min-height: fit-content;
    transition: 0.5s;
    font-size: medium;
    background-color: var(--button-default-background);
    color: var(--text-light);
    border: none;
    border-radius: 7px;
}

select {
    background: var(--select-background);
    color: #fff;
    padding: 12px 16px;
    width: 100%;
    max-width: 260px;
    border: 1px solid var(--modal-background);
    font-size: 1em;
    border-radius: 8px;
    box-shadow: var(--select-shadow);
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    color: var(--text-light);
    position: relative;
}

select:hover {
    background: var(--select-hover-background);
    transform: translateY(-1px);
    box-shadow: var(--select-hover-shadow);
}

select:focus {
    border-color: var(--accent-color);
    box-shadow: var(--select-focus-shadow);
    background: var(--select-focus-background);
}

select option {
    background: var(--select-option-background);
    color: var(--text-light);
    padding: 10px;
    transition: background 0.2s ease;
}

select option:hover {
    background: var(--select-option-hover-background);
}

select::-ms-expand {
    display: none;
}

select::after {
    content: "▼";
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: color 0.3s ease;
}

::-webkit-scrollbar {
    width: 1em;
}

::-webkit-scrollbar-track {
    background: rgba(50, 50, 50, 0.2);
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2b1055, var(--accent-color));
    border-radius: 0px;
    transition: background 0.3s ease, transform 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    transform: scale(1.1);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    right: 0.7em;
    background-color: var(--dropdown-background);
    min-width: 350px;
    box-shadow: var(--dropdown-shadow);
    padding: 0;
    z-index: 999;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}

.dropdown-content div {
    display: flex !important;
    align-items: center;
    justify-content: start;
    color: var(--text-light);
    gap: 8px;
    width: 100%;
    padding: 0 16px;
    font-size: 1em;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dropdown-content div p {
    padding-top: 5px;
}

.dropdown-content div:hover {
    background-color: var(--dropdown-hover-background);
}

.dropdown-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-wrapper label {
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-top: 0.3em;
    text-align: left;
}

.input-wrapper input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid var(--input-border);
    border-radius: 6px;
    transition: border 0.2s;
}

.input-wrapper input:focus {
    border-color: var(--primary-brand-color);
    outline: none;
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#prompt button {
    flex: 1;
    margin-top: 1em;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

#prompt button:hover {
    transform: scale(1.05);
}

#confirm-prompt {
    background: var(--primary-brand-color);
}

#confirm-prompt:hover {
    background: var(--primary-brand-hover);
}

#cancel-prompt {
    background: var(--danger-color);
}

#cancel-prompt:hover {
    background: var(--danger-hover);
}

.hidden {
    display: none !important;
}

.switch {
    font-size: 16px;
    position: relative;
    display: block;
    width: 3.8em;
    height: 2em;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.options>p {
    font-size: 15px;
    color: #ddd;
    text-align: center;
    width: 3.8em;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--switch-off-background);
    border-radius: 50px;
    border: 2px solid var(--switch-border);
    transition: all 0.3s ease-in-out;
}

.slider:before {
    content: "";
    position: absolute;
    height: 1.4em;
    width: 1.4em;
    left: 0.2em;
    bottom: 0.2em;
    background: var(--switch-thumb-off);
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    box-shadow: var(--switch-thumb-shadow);
}

.switch input:checked+.slider {
    background: var(--switch-on-background);
    border-color: var(--switch-on-background);
    box-shadow: var(--switch-checked-shadow);
}

.switch input:checked+.slider:before {
    transform: translateX(1.7em);
    background: var(--switch-thumb-on);
}

/* #endregion */
/* #region MediaQuery */

@media only screen and (max-width: 600px) {
    #HelpMess {
        width: 70vw;
        height: 10vh;
    }

    #setting-app {
        width: 100%;
    }
}

/* #endregion */
/* End Code*/
/*/////////////////////////////////////////*/