table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
tr:hover {
    background-color: #f5f5f5;
}
.fired-access {
    background-color: #ffe6e6 !important;
}
td .fired-user {
    color: #ff4444;
    display: inline-block;
}
.warning-icon {
    color: #ff4444;
    margin-right: 5px;
}
.file-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}
.file-name {
    display: flex;
    align-items: center;
}
.action-links a {
    margin-right: 10px;
    color: #0066cc;
    text-decoration: none;
}
.action-links a:hover {
    text-decoration: underline;
}
.description {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.description:hover {
    white-space: normal;
    overflow: visible;
}

/* Стили для страницы авторизации */
.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}

.auth-container h1 {
    margin-bottom: 20px;
    color: #333;
}

.auth-container p {
    margin-bottom: 30px;
    color: #666;
}

.auth-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.auth-button:hover {
    background-color: #357abd;
}

.error-message {
    background-color: #ffe6e6;
    border: 1px solid #ff4444;
    color: #cc0000;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-weight: 500;
}

/* Стили для фильтров */
.filters {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
}

select.filter-input {
    background-color: white;
    cursor: pointer;
}

.filter-input:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

/* Стили для сортировки */
th[data-sort] {
    cursor: pointer;
    user-select: none;
    position: relative;
}

th[data-sort]:hover {
    background-color: #e6e6e6;
}

.sort-icon {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    color: #666;
}

th[data-sort]:hover .sort-icon {
    color: #333;
}
