body {
    font-family: Arial, sans-serif;
    direction: rtl;
    padding: 20px;
    margin: 0;
    background-color: #f2f2f2;
}

.container {
    max-width: 900px;
    margin: auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #ccc;
}

h2, h3 {
    margin-top: 20px;
    color: #333;
}

form {
    margin-bottom: 15px;
}

input[type="file"],
input[type="text"],
input[type="number"],
select,
button {
    padding: 10px;
    margin: 5px 0;
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    border: 1px solid #ccc;
}

button {
    background-color: #2196F3;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0b7dda;
}

.logout {
    text-align: left;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table, th, td {
    border: 1px solid #ccc;
    text-align: center;
    padding: 10px;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 15px;
        background: #f9f9f9;
        padding: 10px;
        border-radius: 8px;
    }

    td {
        text-align: right;
        padding-right: 50%;
        position: relative;
    }

    td::before {
        position: absolute;
        top: 10px;
        right: 10px;
        font-weight: bold;
        color: #555;
        content: attr(data-label);
    }
}
