/* Import Google Font for a cleaner look */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&family=Inter:wght@400;600;800&display=swap');

/* General Setup - Dark Mode */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    transition: background-color 0.3s;
}

.analyzer-container {
    background-color: #242424;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    width: 95%;
    max-width: 900px;
    border: 1px solid #333;
}

h1 {
    color: #4CAF50; /* Primary Green */
    margin-bottom: 10px;
    font-size: 2.2em;
    font-weight: 800;
}

.subtitle {
    color: #bbb;
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* File Drop Area */
.drop-area {
    border: 3px dashed #444;
    border-radius: 10px;
    padding: 50px 20px;
    margin-bottom: 30px;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
}

.drop-area.highlight {
    background-color: #303030;
    border-color: #4CAF50;
}

.drop-area p {
    margin: 5px 0;
    color: #aaa;
}

.primary-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.primary-btn:hover {
    background-color: #43a047;
    transform: translateY(-1px);
}

/* Player Section */
.player-section {
    width: 100%;
}

.hidden {
    display: none !important;
}

.track-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 10px;
    font-family: 'Roboto Mono', monospace; /* Monospaced font for data */
}

#fileNameDisplay {
    color: #fff;
    font-size: 1em;
}

.status-badge {
    background-color: #333;
    color: #888;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

.status-badge.analyzing {
    background-color: #ff9800; /* Orange */
    color: #1a1a1a;
}

.playback-controls {
    text-align: left;
    margin-bottom: 20px;
    padding-left: 10px;
}

.control-btn {
    background-color: #383838;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.control-btn svg {
    fill: white;
    width: 60%;
    height: 60%;
    vertical-align: middle;
}

.control-btn:hover {
    background-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.control-btn.playing svg path {
    /* Pause icon lines */
    d: path('M6 19h4V5H6v14zm8-14v14h4V5h-4z'); 
}


/* Band Switcher */
.band-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.band-btn {
    background-color: #383838;
    color: #ccc;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.band-btn:hover {
    background-color: #4CAF50;
    color: white;
}

.band-btn.active {
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* Canvas and Info */
.analyzer-canvas {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px;
    width: 100%;
    height: 300px;
    display: block;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.visualization-info {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}
