.diplomik-orders-wrap {
    max-width: 1400px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.diplomik-actions {
    margin-bottom: 20px;
}

.diplomik-actions button {
    margin-right: 10px;
}

#diplomik-orders-table-container {
    overflow-x: auto;
    width: 100%;
}

#orders-table,
#orders-table th,
#orders-table td {
    font-size: 12px;
}

#orders-table td {
    padding: 4px 6px;
    word-break: break-word;
}

.dataTables_wrapper {
    font-size: 12px;
}

.diplomik-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.diplomik-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    position: relative;
}

.diplomik-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.diplomik-modal-close:hover,
.diplomik-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#diplomik-order-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

#diplomik-order-form input[type="text"],
#diplomik-order-form input[type="number"],
#diplomik-order-form input[type="date"],
#diplomik-order-form textarea {
    width: 100%;
    padding: 6px;
    margin-top: 4px;
    box-sizing: border-box;
}

#diplomik-order-form button[type="submit"] {
    margin-top: 20px;
    margin-right: 10px;
}

.edit-order, .delete-order {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
    margin: 0 2px;
}

#files-list {
    margin-bottom: 10px;
}

.file-item {
    padding: 5px;
    background: #f5f5f5;
    margin: 5px 0;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-item a {
    text-decoration: none;
    color: #0073aa;
}

.file-item .delete-file {
    color: #a00;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
}

.download-all-files {
    cursor: pointer;
    font-size: 18px;
    display: inline-block;
    padding: 2px 5px;
}
.download-all-files:hover {
    opacity: 0.7;
}
/* Подсветка строк в зависимости от оплаты */
.payment-paid {
    background-color: #d4edda !important;  /* светло-зелёный */
}

.payment-partial {
    background-color: #fff3cd !important;  /* светло-жёлтый */
}

/* Можно добавить и для неоплаченных, если нужно */
.payment-none {
    /* пока без фона */
}
/* Стили для блока напоминаний */
#deadline-reminder {
    font-size: 14px;
    border-radius: 4px;
}
#deadline-reminder ul {
    margin: 5px 0 0 20px;
    padding: 0;
}
#deadline-reminder li {
    margin: 2px 0;
}
#deadline-reminder a {
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
}
#deadline-reminder a:hover {
    text-decoration: underline;
}