:root {
    --bg-color: #0d0d12;
    --card-bg: #16161e;
    --accent-primary: #8b5cf6;
    --accent-secondary: #06b6d4;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --success: #22c55e;
    --danger: #ef4444;
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    padding: 15px;
    line-height: 1.5;
}

.container { max-width: 600px; margin: 0 auto; }

header { text-align: center; padding: 30px 0; }
.logo { font-size: 1.8rem; font-weight: 900; letter-spacing: -1.5px; background: linear-gradient(to right, #8b5cf6, #d946ef); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-title { font-size: 0.8rem; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 15px; letter-spacing: 1px; font-weight: 700; }

/* Stats Row */
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.stat-box { background: rgba(255,255,255,0.03); padding: 15px; border-radius: 15px; border: 1px solid var(--glass-border); }
.stat-box .val { font-size: 1.5rem; font-weight: 800; }

/* Inputs & Buttons */
input, select {
    width: 100%; padding: 14px; background: #000; border: 1px solid var(--glass-border);
    border-radius: 12px; color: #fff; margin-bottom: 12px; font-size: 1rem;
}

.btn {
    width: 100%; padding: 14px; border-radius: 12px; border: none; font-weight: 700; cursor: pointer; transition: 0.2s;
}
.btn-primary { background: #8b5cf6; color: #fff; }
.btn-primary:active { transform: scale(0.98); }

/* List Items */
.list-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; border-bottom: 1px solid var(--glass-border);
}
.list-item:last-child { border: 0; }

.status-badge {
    padding: 4px 10px; border-radius: 8px; font-size: 0.7rem; font-weight: 800;
}
.status-lead { background: rgba(139, 92, 246, 0.2); color: #a78bfa; }
.status-sold { background: rgba(34, 197, 94, 0.2); color: #4ade80; }

.time-badge {
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Modal */
.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(10px);
    z-index: 1000; justify-content: center; align-items: center;
}
.modal-content { width: 90%; max-width: 400px; padding: 20px; }

/* Desktop Adjustment */
@media (min-width: 600px) { body { padding: 40px; } }
