/* Custom Styles for DEX Aggregator */
body {
    background-color: #0d1117; /* Warna gelap khas Crypto */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

.swap-container {
    max-width: 450px;
    margin: 50px auto;
    background: rgba(22, 27, 34, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid #30363d;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.token-input-group {
    background: #161b22;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 8px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.token-input-group:hover {
    border: 1px solid #1f6feb;
}

.token-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    width: 100%;
    outline: none;
}

.btn-primary-crypto {
    background: linear-gradient(90deg, #1f6feb 0%, #38bdf8 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-weight: bold;
    padding: 15px;
    width: 100%;
    transition: transform 0.2s;
}

.btn-primary-crypto:active {
    transform: scale(0.98);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .swap-container {
        margin: 20px;
        width: calc(100% - 40px);
    }
}


/* Custom Grid for Earn Money Features */
.feature-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .feature-grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-box {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.feature-box:hover {
    border-color: #1f6feb;
    background: #1c2128;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.icon-placeholder {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-box span {
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Sidebar Styles */
#sidebar-right {
    transition: transform 0.3s ease-in-out;
    z-index: 100;
}
.sidebar-hidden {
    transform: translateX(100%);
}
.sidebar-visible {
    transform: translateX(0);
}
/* Dropdown Styles */
.menu-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.menu-dropdown.show {
    max-height: 500px;
}