body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f0f2f5;
    color: #1a1a1a;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

/* Tab Navigation */
.practice-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.practice-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.practice-tab:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.practice-tab.active {
    background: #fff;
    color: #2563eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Content Areas */
#upload-container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

#prompt-container, #result-container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

/* Buttons */
button {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #1d4ed8;
}

.grade-button {
    background-color: #64748b;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
}

.grade-button:hover {
    background-color: #475569;
}

/* File Input */
input[type="file"] {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 6px;
    border: 2px dashed #e2e8f0;
    width: 100%;
    margin: 1rem 0;
}

/* History and Metrics */
#history-container, #metrics-container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.history-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.history-item:last-child {
    border-bottom: none;
}

/* Numbers and Stats */
#number-prompt {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
    margin: 1rem 0;
}

.coming-soon {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    color: #64748b;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1rem 0;
}

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

th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #1a1a1a;
}

tr:hover {
    background-color: #f8fafc;
}
.memory-practice-container {
    margin-bottom: 2rem;
}

.practice-navigation {
    display: flex;
    gap: 1px;
    background: #e2e8f0;
    padding: 2px;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.nav-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-button:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.nav-button:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.nav-button.active {
    background: #2563eb;
    color: white;
}

.nav-button:hover:not(.active) {
    background: #f8fafc;
    color: #0f172a;
}

.mode-icon {
    font-size: 1.25rem;
}

.mode-title {
    font-size: 0.875rem;
    font-weight: 500;
}

.practice-mode {
    display: none;
}

.practice-mode.active {
    display: block;
}

.coming-soon-container {
    text-align: center;
    padding: 3rem;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
}

.mode-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mode-description {
    color: #64748b;
    margin-bottom: 2rem;
}

.coming-soon-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #94a3b8;
}

.hidden {
    display: none;
}
