body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2 {
    text-align: center;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #333333;
}

.tablink {
    background-color: #333333;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border-radius: 5px 5px 0 0;
}

.tablink:hover, .tablink.active {
    background-color: #6200ea;
}

.tabcontent {
    display: none;
    padding: 20px;
    background-color: #333333;
    border-radius: 0 0 5px 5px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #333333;
    color: #ffffff;
    border: none;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background-color: #6200ea;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #3700b3;
}

#output, #history {
    margin-top: 20px;
}

#output {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.history-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #333333;
    border-radius: 5px;
}

.history-header span {
    flex: 1;
    text-align: center;
}

.history-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #444444;
    border-radius: 5px;
    margin-top: 10px;
}

.history-item span, .history-item input {
    flex: 1;
    text-align: center;
}

.history-item input.rename-input {
    background-color: #333333;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 5px;
}

.delete-all-btn {
    background-color: #e53935;
    margin-bottom: 10px;
}

.delete-all-btn:hover {
    background-color: #b71c1c;
}

.history-item button.delete-btn {
    background-color: #e53935;
}

.history-item button.delete-btn:hover {
    background-color: #b71c1c;
}

.history-item button {
    margin: 0 5px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.pagination-controls label {
    margin-right: 10px;
}

.pagination-controls select {
    margin-right: 10px;
    padding: 5px;
    background-color: #333333;
    color: #ffffff;
    border: none;
    border-radius: 5px;
}

.pagination-controls button {
    padding: 5px 10px;
    background-color: #6200ea;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.pagination-controls button:hover {
    background-color: #3700b3;
}
