:root {
    --primary: #6366f1;
    --accent: #10b981;
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f8fafc;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

header { padding: 20px; text-align: center; }

.dashboard { display: flex; gap: 15px; margin-top: 10px; }

.stat-box {
    background: var(--card);
    padding: 8px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
}

.label { color: #94a3b8; font-size: 0.75rem; text-transform: uppercase; }

.nav {
  display: flex;
  justify-content: center; 
  align-items: center;
  flex-wrap: wrap;       /* This is the magic line for mobile! */
  gap: 10px;             
  padding: 10px;
}

#container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 50vh;
    width: 90%;
    gap: 4px;
    margin-bottom: 120px;
}

.bar {
    width: 20px;
    margin: 1px;
    background-color: #6366f1;
    display: inline-block;

    transition: height 0.1s ease; 
}



.toolbar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%); 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;              
    padding: 15px 30px;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    max-width: 90vw;         
}


button, select {
    padding: 10px 20px;
    border-radius: 50px;
    white-space: nowrap;   
}

button, select {
    background: #6366f1; 
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px; 
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    outline: none;
    margin: 5px;
}

button:hover:not(:disabled) {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
}


button:active:not(:disabled) {
    transform: translateY(0);
}


button:disabled {
    background: #475569;
    opacity: 0.7;
    cursor: not-allowed;
}


select {
    padding-right: 35px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}
