.dark {
    --secondary: #ffffff0a;
    --muted: #ffffff0f;
    --muted-foreground: #94a3b8;
    --accent: #ffffff14;
    --accent-foreground: #e2e8f0;
    --background-color: #0f172a;
    --color: #fff;
    --background: #0f172a;
    --green: 19 155 109;
    --red: 180 48 60;
}

.fullscreen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border-top: 5px solid #0346b3;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #010816;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1a1b1f;
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.modal-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #e2e2e2;
    margin: 0;
}

.wallet-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--secondary, rgba(255, 255, 255, 0.05));
    overflow: hidden;
}

.wallet-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wallet-button span {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-foreground, #e2e8f0);
    letter-spacing: 0.3px;
}

.wallet-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.wallet-status.installed {
    background: transparent;
    border: 1px solid rgb(var(--green));
    color: rgb(var(--green));
}

.wallet-button:hover {
    border-color: var(--accent-foreground, rgba(255, 255, 255, 0.2));
    background: rgba(255, 255, 255, 0.3);
}

.wallet-button:active {
    transform: translateY(1px);
    background: var(--secondary, rgba(255, 255, 255, 0.05));
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .wallet-button {
        padding: 16px;
    }

    .wallet-icon {
        width: 32px;
        height: 32px;
    }
}

.wallet-icon {
    width: 36px;
    height: 36px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.wallet-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wallet-button span {
    font-size: 16px;
    font-weight: 500;
    color: #e2e2e2;
    letter-spacing: 0.3px;
}

/* Animation for modal appearance */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    animation: modalFadeIn 0.3s ease-out forwards;
}

/* Glass effect for buttons */
.wallet-button {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .modal-content {
        margin: 16px;
        padding: 20px;
    }

    .wallet-button {
        padding: 16px;
    }

    .wallet-icon {
        width: 32px;
        height: 32px;
        margin-right: 12px;
    }

    .modal-header h1 {
        font-size: 20px;
    }
}