body {
    background-color: #f8f9fa;
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button {
    font-size: 18px;
}

.text-danger {
    font-size: 14px;
    text-align: center;
}
.small-text {
    font-size: 0.85em;
    color: #6c757d;
    white-space: nowrap; /* Prevents wrapping */
}

/* Set table to prevent horizontal oversizing */
.table {
    table-layout: fixed; /* Enables wrapping for cells */
    width: 100%;
}

.table th, .table td {
    word-wrap: break-word; /* Wrap content to prevent horizontal overflow */
    vertical-align: middle; /* Ensures content aligns properly */
}
/* Ensure the textarea fits within the table cell */
table td .feedback-input {
    width: 100%;  /* Make textarea take full width of the cell */
    height: 60px; /* Adjust the height as necessary */
    padding: 5px; /* Add some space inside the textarea */
    border: 1px solid #ddd; /* Light border */
    border-radius: 5px; /* Rounded corners */
    resize: vertical;  /* Allow resizing only vertically */
    box-sizing: border-box;  /* Ensure padding doesn't affect the width */
}
/* تنظیمات مربوط به عرض ورودی بازخورد */
.feedback-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%; /* عرض کامل سلول جدول */
}

.feedback-input {
    width: 100%; /* تطبیق با عرض سلول */
    box-sizing: border-box; /* شامل padding و border */
    resize: vertical; /* امکان تغییر ارتفاع */
}

.submit-feedback {
    margin-top: 5px; /* فاصله کوچک بین دکمه و ورودی */
    align-self: flex-end; /* چسباندن دکمه به سمت راست */
}

/* تنظیمات کلی برای جدول */
.table td, .table th {
    vertical-align: middle; /* متن و محتوا در وسط سلول */
    text-align: center;
}

/* ستون عملیات */
.actions-cell {
    width: 10%; /* محدود کردن عرض ستون عملیات */
}
/* تنظیمات مربوط به عرض ورودی بازخورد */
.feedback-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.feedback-input {
    width: 100%; /* تطبیق با عرض سلول */
    box-sizing: border-box; /* شامل padding و border */
    resize: vertical; /* تغییر ارتفاع مجاز */
}

/* تنظیمات مربوط به ستون عملیات */
.actions-cell {
    width: 10%; /* محدود کردن عرض ستون عملیات */
    text-align: center;
}
/* تنظیمات مربوط به ورودی بازخورد */
.feedback-input {
    width: 100%; /* عرض کامل ورودی بازخورد */
    max-height: 60px; /* حداکثر ارتفاع ورودی */
    padding: 4px; /* فاصله درونی ورودی */
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical; /* امکان تغییر ارتفاع */
}

/* تنظیمات مربوط به ستون بازخورد */
.feedback-cell {
    width: 100%; /* تطبیق با عرض جدول */
}
