.review-task {
    background: #ffffff;
    padding: 20px 20px 160px;
    min-height: calc(100vh - 90px);
}

.review-task-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
}

.review-task-urgent-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FEF3C7;
    color: #D97706;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
}

.review-task-urgent-badge i {
    font-size: 12px;
}

.review-task-urgent-badge.hide {
    display: none;
}

.review-task-add-note {
    background: #ffffff;
    border: 1px solid #D1D5DB;
    border-radius: 999px;
    color: #6B7280;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding: 8px 16px;
    white-space: nowrap;
}

.review-task-field {
    margin-bottom: 20px;
}

.review-task-field-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6B7280;
    margin-bottom: 4px;
}

.review-task-field-value {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
}

.review-task-actions {

    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.review-task-accept,
.review-task-decline {
    width: 100%;
    border: none;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    padding: 7px 10px
}

.review-task-accept {
    background: #0370BA;
    color: #ffffff;
}

.review-task-accept:hover,
.review-task-accept:focus {
    background: #0060A9;
    color: #ffffff;
}

.review-task-decline {
    background: #FCE3E1;
    color: #EC4433;
}

.review-task-decline:hover,
.review-task-decline:focus {
    background: #F9D4D1;
    color: #EC4433;
}

.rtask-note-modal .modal-dialog {
    margin: 1.75rem auto;
    max-width: calc(100% - 32px);
    width: 100%;
}

#rtaskReviewNoteModal.show {
    z-index: 1060 !important;
}

#rtaskReviewNoteDeleteConfirmModal.show {
    z-index: 1070 !important;
}

.rtask-note-delete-confirm-body {
    padding: 24px 20px 32px;
}

.rtask-note-delete-confirm-message {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #6B7280;
    margin: 0;
}

.rtask-note-delete-confirm-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 20px 20px;
}

.rtask-note-delete-confirm-btn-cancel {
    background: #ffffff;
    border: 1px solid #111827;
    border-radius: 999px;
    color: #111827;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    padding: 10px 20px;
    cursor: pointer;
}

.rtask-note-delete-confirm-btn-cancel:hover,
.rtask-note-delete-confirm-btn-cancel:focus {
    background: #F9FAFB;
    color: #111827;
}

.rtask-note-delete-confirm-btn-delete {
    background: #FCE3E1;
    border: none;
    border-radius: 999px;
    color: #EC4433;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    padding: 10px 20px;
    cursor: pointer;
}

.rtask-note-delete-confirm-btn-delete:hover,
.rtask-note-delete-confirm-btn-delete:focus {
    background: #F9D4D1;
    color: #EC4433;
}

.rtask-note-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 8px 35px 0px #00000029;
}

.rtask-note-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #E5E7EB;
}

.rtask-note-modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin: 0;
}

.rtask-note-modal-close {
    background: none;
    border: none;
    color: #6B7280;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.rtask-note-modal-body {
    padding: 20px;
}

.rtask-note-modal-textarea {
    width: 100%;
    min-height: 160px;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    resize: vertical;
}

.rtask-note-modal-textarea:focus {
    outline: none;
    border-color: #80BDFF;
    box-shadow: 0 0 0 3px rgba(3, 112, 186, 0.15);
}

.rtask-note-modal-footer {
    padding: 16px 20px 20px;
    border-top: 1px solid #E5E7EB;
}

.rtask-note-modal-footer-add {
    display: flex;
    justify-content: flex-end;
}

.rtask-note-modal-footer-edit {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.rtask-note-modal-btn-add,
.rtask-note-modal-btn-save {
    background: #0370BA;
    border: none;
    border-radius: 999px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    padding: 10px 20px;
    cursor: pointer;
}

.rtask-note-modal-btn-add:hover,
.rtask-note-modal-btn-add:focus,
.rtask-note-modal-btn-save:not(.rtask-note-modal-btn-save-disabled):hover,
.rtask-note-modal-btn-save:not(.rtask-note-modal-btn-save-disabled):focus {
    background: #0060A9;
    color: #ffffff;
}

.rtask-note-modal-btn-delete {
    background: #FCE3E1;
    border: none;
    border-radius: 999px;
    color: #EC4433;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    padding: 10px 20px;
    cursor: pointer;
}

.rtask-note-modal-btn-delete:hover,
.rtask-note-modal-btn-delete:focus {
    background: #F9D4D1;
    color: #EC4433;
}

.rtask-note-modal-btn-save-disabled {
    background: #D1D5DB;
    color: #ffffff;
    cursor: not-allowed;
}

.review-task-add-note.has-note {
    color: #0370BA;
    border-color: #0370BA;
}

.task-declined-toast-container {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    width: 361px;
    max-width: calc(100% - 24px);
    pointer-events: none;
}

.task-declined-toast-container.hide {
    display: none;
}

.task-declined-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.16);
    padding: 14px 16px;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.task-declined-toast.task-declined-visible {
    opacity: 1;
    transform: translateY(0);
}

.task-declined-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #22C55E;
}

.task-declined-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #22C55E;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-left: 4px;
}

.task-declined-text {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #111827;
}

.task-declined-undo {
    flex-shrink: 0;
    border: none;
    border-radius: 999px;
    background: #FCE7F3;
    color: #BE185D;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    padding: 6px 12px;
    cursor: pointer;
}

.task-declined-undo i {
    font-size: 12px;
    margin-left: 4px;
}

.task-declined-close {
    flex-shrink: 0;
    border: none;
    background: none;
    color: #0060A9;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.task-declined-close:hover {
    color: #035a94;
}

.task-accepted-start {
    flex-shrink: 0;
    border: none;
    border-radius: 999px;
    background: #DBEAFE;
    color: #0370BA;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    padding: 6px 14px;
    cursor: pointer;
    white-space: nowrap;
}

.task-accepted-start:hover,
.task-accepted-start:focus {
    background: #BFDBFE;
    color: #0060A9;
}
