/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0b0f1a;
    color: #fff;
}

/* BACKGROUND */

.hero-image-backdrop {
    position: fixed;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(0, 153, 255, 0.15), transparent 70%);
    z-index: -1;
}

/* CENTER */

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* MAIN CARD */

.main-content {
    background: rgba(20, 25, 40, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* BADGE */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 153, 255, 0.15);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 12px;
    margin-bottom: 20px;
}

/* TITLE */

.title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
}

/* IMAGE */

.hero-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* TEXT */

.description {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 25px;
}

/* DROPDOWN */

.troubleshoot-section {
    text-align: left;
    margin-bottom: 20px;
}

.troubleshoot-label {
    font-size: 13px;
    margin-bottom: 6px;
}

.troubleshoot-dropdown {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #111827;
    color: #fff;
}

/* BUTTON */

.connect-wallet-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.connect-wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 153, 255, 0.4);
}

/* MODAL */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.hidden {
    display: none;
}

/* MODAL CONTENT */

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 25px;
    width: 90%;
    max-width: 420px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= WALLET LIST ================= */

.wallet-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 15px;
    padding-right: 5px;
}

.wallet-list::-webkit-scrollbar {
    width: 4px;
}

.wallet-list::-webkit-scrollbar-thumb {
    background: #2d3748;
    border-radius: 10px;
}

.wallet-item {
    display: flex;
    align-items: center;
    background: #1a2236;
    padding: 14px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.wallet-icon {
    font-size: 18px;
    margin-right: 12px;
}

.wallet-item span {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

.wallet-status {
    font-size: 10px;
    color: #00ff88;
    margin-right: 10px;
}

.wallet-item:hover {
    background: linear-gradient(90deg, #0f172a, #1e293b);
    border: 1px solid rgba(0, 153, 255, 0.4);
    transform: translateY(-2px);
}

.wallet-item:active {
    transform: scale(0.98);
}

/* ================= IMPORT TABS ================= */

.import-options {
    display: flex;
    gap: 8px;
    background: #020617;
    padding: 6px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #1e293b;
}

.import-option {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    color: #64748b;
    font-weight: 500;
    transition: all 0.25s ease;
}

.import-option:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.import-option.active {
    background: linear-gradient(90deg, #007bff, #00c6ff);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 153, 255, 0.4);
}

/* ================= FORM ================= */

textarea,
input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #1e293b;
    background: #020617;
    color: white;
    margin-top: 8px;
    font-size: 13px;
}

textarea:focus,
input:focus {
    outline: none;
    border: 1px solid #00c6ff;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
}

/* BUTTONS */

.validate-btn {
    background: linear-gradient(90deg, #007bff, #00c6ff);
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    color: white;
}

.close-btn {
    background: #374151;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    color: white;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

/* LOADER */

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #1f2937;
    border-top: 4px solid #00c6ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ERROR */

.error-content {
    background: #2d0b0b;
}

.error-icon {
    font-size: 30px;
    color: red;
    margin-bottom: 10px;
}