:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --background-color: #f5f7fa;
    --card-color: #ffffff;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --hover-color: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin-bottom: 1rem;
    text-align: center;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

select, input, button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

select, button {
    background-color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

select:hover, button:hover {
    background-color: var(--hover-color);
}

button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
}

button:hover {
    background-color: var(--primary-color);
}

.search-container {
    display: flex;
    gap: 0.5rem;
}

#search-input {
    width: 250px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.stats-panel {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-box {
    background-color: var(--card-color);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.stat-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

#uuid-container {
    background-color: var(--card-color);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    min-height: 400px;
}

.uuid-item {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.uuid-item:hover {
    background-color: var(--hover-color);
}

.uuid-text {
    font-family: monospace;
    font-size: 1.1rem;
}

.uuid-index {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 1rem;
    min-width: 50px;
}

.instruction {
    text-align: center;
    color: #888;
    padding: 2rem;
    font-size: 1.2rem;
}

.copy-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.copy-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        width: 100%;
    }
    
    #search-input {
        width: 100%;
    }
    
    .stats-panel {
        flex-direction: column;
    }
}