:root{
    --border: rgba(255, 255, 255, 0.2);
    --background: rgba(255, 255, 255, 0.1);
    --dark-background: #141414;
    --hover-background: #171717;
    --text: #e5e5e5;
    --link-text: #9c9c9c;
    --input-focus: #262626;
    --bright: #6e48aa;
    --bright-text: #9467db;
}

.selected-page {
    color: var(--bright-text);
}

.width-auto{
    width: auto;
}

body {
    background: #000000;
    color: var(--text);
    font-family: arial;
}

input:focus {
    outline: none !important;
}

#toast-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
}

#toast-container>div {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    max-width: 300px;
    word-wrap: break-word;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: auto;
}

.btn {
    padding: 12px;
    margin: auto;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #000000;
    width: 50px;
    color: var(--text);
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover{
    background: var(--background);
    cursor: pointer;
}

.btn-red {
    padding: 12px;
    margin: auto;
    text-align: center;
    border: 1px solid #3a1f1f;
    border-radius: 12px;
    background: #000000;
    width: 50px;
    color: var(--text);
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-red:hover{
    background: #221111;
    cursor: pointer;
}

.btn-purple {
    padding: 12px;
    margin: auto;
    text-align: center;
    border: 1px solid #261f3a;
    border-radius: 12px;
    background: #000000;
    width: 50px;
    color: var(--text);
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-purple:hover{
    background: #181122;
    cursor: pointer;
}

.btn-white {
    padding: 12px;
    margin: auto;
    text-align: center;
    border: 1px solid var(--text);
    border-radius: 12px;
    background: var(--text);
    width: 50px;
    color: #000000;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-white:hover{
    background: #000000;
    border-color: var(--border);
    color: var(--text);
    cursor: pointer;
}

.input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #000000;
    width: auto;
    color: var(--text);
    transition: 0.3s ease;
}

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

.hamburger {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger div {
    width: 20px;
    height: 2px;
    background-color: #e5e5e5;
    margin: 4px 0;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 4px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -4px);
}

.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding-top: 80px;
}

.sidebar.active {
    left: 0;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: ease 0.3s;
}

.sidebar ul li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar ul li a {
    display: block;
    color: #e5e5e5;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 20px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay.active {
    z-index: 1000000
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

@media screen and (max-width: 768px) {
  .hamburger {
    top: 16px;
    left: 16px;
  }
  .sidebar {
    width: min(280px, 80vw);
    left: -80vw;
  }
  .sidebar.active {
    left: 0;
  }
}

@media screen and (max-width: 480px) {
  .hamburger {
    top: 12px;
    left: 12px;
    padding: 6px;
  }
  .hamburger div {
    width: 18px;
  }
}
