* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    font-size: 28px;
}

p, li{
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-size: 16px;
}

a {
    color: #333;
    margin: 0px 0px;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input[type="text"] {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

button {
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

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

.info-box {
    margin: 18px 0px;
    padding: 12px 14px;
    border-radius: 6px;
    background-color: #eef3ff;
    border: 1px solid #c8d6ff;
    color: #2b3a67;
    font-size: 14px;
    text-align: center;
}

.requests_container {
    max-width: 900px;
    margin: 40px auto;
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 16px 0 20px;
}

.delete-button {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    background: #c62828;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.delete-button:disabled {
    background: #d7d7d7;
    cursor: not-allowed;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
}

th {
    background-color: #f2f2f2;
    cursor: pointer;
    user-select: none;
}

th.checkbox-col,
td.checkbox-col,
#requests-table th:first-child,
#requests-table td:first-child {
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    text-align: center;
    cursor: default;
    padding-left: 4px;
    padding-right: 4px;
}

th.sortable::after {
    content: ' ⇅';
    color: #888;
    font-size: 12px;
}

th.sort-asc::after {
    content: ' ▲';
}

th.sort-desc::after {
    content: ' ▼';
}

.empty-state {
    text-align: center;
    color: #666;
}

.select-all {
    transform: scale(1.1);
}