.bordered, .bordered th, .bordered td {
    border-collapse: collapse;
    border: 1px solid gray;
}
.bordered th, .bordered td {
    padding: 4px;
}
.bordered caption {
    text-align: left;
}

center .left {
    text-align: left;
}

center .right {
    text-align: left;
}

.client-block {
    margin-top: 16px;
    padding-left: 50px;
}

.project-block {
    margin-top: 16px;
    padding-left: 100px;
}

.ticket-name {
    max-width: 600px;
}

.ticket-hours {
    text-align: right;
}

.text-right {
    text-align: right;
}

.danger {
    background-color: #c86f11;
}

dialog {
    padding: 20px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Îôîðìëåíèå ôîíà ìîäàëüíîãî îêíà (backdrop) */
dialog::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

.dialog-close {
    float: right;
    margin-left: 14px;
}
.button {
    margin: 12px 12px;
}

.container {
    display: flex;
    justify-content: center; /* Centers content horizontally along the main axis */
    align-items: center;     /* Centers content vertically along the cross axis */
}

.content {

}

.alert {
    padding: 20px;
    margin-bottom: 15px; /* Adds space between alerts */
    border: 1px solid transparent;
    border-radius: 4px; /* Softens the corners */
    position: relative; /* Useful for positioning the close button */
}

/* Success-specific styling */
.success-alert {
    color: #3c763d; /* Dark green text color */
    background-color: #dff0d8; /* Light green background */
    border-color: #d6e9c6; /* Slightly darker green border */
}