::-webkit-scrollbar {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: url(img/bg.gif) no-repeat;
    background-size: cover;
    background-position: center;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    transition: .5s;
    overflow: hidden;
    z-index: 2000;
}

.sidebar.active {
    width: 260px;
}

.sidebar .logo-menu {
    display: flex;
    white-space: nowrap;
    align-items: center;
    width: 100%;
    height: 70px;

}

.sidebar .logo-menu .logo {
    font-size: 23px;
    color: #fff;
    pointer-events: none;
    opacity: 0;
    transition: .3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.sidebar.active .logo-menu .logo {
    opacity: 1;
    transition-delay: .2s;
}


.sidebar .logo-menu .toggle-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    font-size: 22px;
    color: #fff;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

.sidebar.active .logo-menu .toggle-btn {
    left: 90%;
}

.sidebar .list {
    margin-top: 10px;
}

.list .list-item {
    list-style: none;
    width: 100%;
    height: 50px;
    margin: 5px 0;
    line-height: 50px;
}

.list .list-item a {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: .5s;
}

.list .list-item.active a,
.list .list-item a:hover {
    background: rgba(255, 255, 255, .2);
}

.list .list-item a i {
    min-width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

.sidebar .link_name {
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.sidebar.active .link_name {
    opacity: 1;
    pointer-events: auto;
    transition-delay: calc(.1s * var(--i));
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: 100% 300px;
    background-position: 0% 100%;
    transition: background-position 0.5s;
}

.maintitle {
    position: relative;
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.maintitle h1 {
    color: white;
    font-weight: bold;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.help-button {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1000;
    pointer-events: auto;
    background: rgba(80, 166, 239, 0.2);
    border: 1px solid rgba(80, 166, 239, 0.5);
    color: #fff;
    padding: 8px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    backdrop-filter: blur(2px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    text-decoration: none;
    user-select: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.help-button:hover {
    background: #50A6EF;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(80, 166, 239, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.clipper-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 90%;
    max-width: 900px;
    margin: 10px auto;
    padding: 10px;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-height: 55vh;
    overflow-y: auto;
}

.clipper-grid::-webkit-scrollbar {
    display: block;
    width: 6px;
}

.clipper-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.crypto-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.crypto-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.crypto-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.crypto-header i {
    font-size: 20px;
    color: #50A6EF;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-wrapper input:focus {
    border-color: #50A6EF;
    box-shadow: 0 0 10px rgba(80, 166, 239, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(0, 0, 0, 0.6) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.error-bubble {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ff4757;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

.error-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #ff4757 transparent transparent transparent;
}

.error-bubble.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    width: 100%;
    max-width: 900px;
}

.selectButton {
    background: rgba(80, 166, 239, 0.2);
    border: 1px solid rgba(80, 166, 239, 0.5);
    color: #fff;
    padding: 10px 25px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    backdrop-filter: blur(2px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.selectButton:hover {
    background: #50A6EF;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(80, 166, 239, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

#resetButton {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
}

#resetButton:hover {
    background: #ff4757;
    color: #fff;
}