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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, monospace;
    background: #0a0e27;
    color: #e0e0e0;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    color: #888;
    margin-top: 8px;
}

.status {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #00ff88;
}

.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #00ff88;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    margin-right: 6px;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

.table-container {
    overflow-x: auto;
    max-width: 1200px;
    margin: 0 auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #111827;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

th, td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #1f2937;
}

th {
    background: #1e293b;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

tr:hover {
    background: #1e293b;
}

.price {
    font-weight: 700;
    font-size: 1.1rem;
}

.change-positive {
    color: #00ff88;
}

.change-negative {
    color: #ff4444;
}

.info {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #1f2937;
    color: #666;
    font-size: 0.8rem;
}

.info a {
    color: #00d4ff;
    text-decoration: none;
}

.info a:hover {
    text-decoration: underline;
}

/* Fix for FAB button click area */
#add-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    z-index: 1000;
    transition: transform 0.2s;
}

#add-fab:hover {
    transform: scale(1.05);
    background: #00e4ff;
}

/* Fix for remove buttons */
.remove-btn {
    background: none;
    border: none;
    color: #ff4444;
    font-size: 18px;
    cursor: pointer !important;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.remove-btn:hover {
    background: rgba(255, 68, 68, 0.2);
    transform: scale(1.1);
}

/* Modal pair items click area */
.pair-item {
    cursor: pointer !important;
    transition: background 0.2s;
}

.pair-item:hover {
    background: #1e293b;
}
