body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f4f4;
    direction: rtl;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

h1, h2 {
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input[type="file"], input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background: #0056b3;
}

.file-list {
    margin-top: 30px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.file-name {
    font-weight: bold;
    color: #007BFF;
    font-size: 14px;
}

.file-type {
    color: #555;
    margin-left: 10px;
    font-size: 12px;
}

.file-time {
    color: #888;
    margin-left: 20px;
    font-size: 12px;
}

.download-btn {
    margin-left: 20px;
    padding: 8px 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
}

.download-btn:hover {
    background: #218838;
}

form input[type="password"] {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    padding: 8px 12px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

form button:hover {
    background: #c82333;
}

@media (max-width: 600px) {
    .file-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-name, .file-type, .file-time, .download-btn, form input, form button {
        margin: 5px 0;
    }
}
.filters-container {
    display: flex;
    flex-wrap: wrap;
}

.filter-button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    color: white;
}

.filter-button.active {
    background-color: red;
}

@media (max-width: 768px) {
    .filters-container {
        flex-direction: row;
    }
}

@media (min-width: 992px) {

}
